The backend for a Symmetric node.
We have a contributing guide over here.
You can contact us by joining our discord here.
To run the backend server you need to:
Create a PostgreSQL database with name of
symmetric as well as set a password for the
.env file which holds sensitive data like passwords, instructions for Linux (Ubuntu, macOS and more).
Create file by running this command:
Edit the file with any text editor and paste this:
MODE=dev DATABASE_URL=postgres://postgres:[email protected]ocalhost:5432/symmetric JWT_SECRET=REPLACE_THIS_WITH_A_RANDOMLY_GENEREATED_SHA256_STRING COOKIE_DOMAIN_DEV=symmetric.localhost COOKIE_DOMAIN_PROD=symmetric.REPLACE_THIS_WITH_THE_NODE_NAME.com
A way to generate a
JWT_SECRET is to run the following command:
openssl rand -base64 64
After running it, you should see get a random string which you can use as a