The backend for a Symmetric node.

Overview

license coverage stars forks issues

node-backend

The backend for a Symmetric node.

Contributing

We have a contributing guide over here.

Community

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 postgres user

Create an .env file which holds sensitive data like passwords, instructions for Linux (Ubuntu, macOS and more).

Create file by running this command:

touch .env

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 JWT_SECRET

Issues
Releases(v0.0.1)
Owner
Decentralized Reddit
null
Reduce Chaos in MemPool 😌

harmony Reduce Chaos in MemPool ?? Table of Contents Why did you write harmony ? What do I need to have for installing harmony ? How do I get harmony

Anjan Roy 50 Sep 15, 2021
A collection of Go packages for creating robust GraphQL APIs

api-fu api-fu (noun) (informal) Mastery of APIs. ?? Packages The top level apifu package is an opinionated library that aims to make it as easy as pos

Chris 38 Sep 23, 2021
json slicer

JSON Slice What is it? JSON Slice is a Go package which allows to execute fast jsonpath queries without unmarshalling the whole data. Sometimes you ne

Michael Gurov 54 Aug 10, 2021
GraphJin - Build APIs in 5 minutes with GraphQL. An instant GraphQL to SQL compiler.

GraphJin - Build APIs in 5 minutes GraphJin gives you a high performance GraphQL API without you having to write any code. GraphQL is automagically co

Vikram Rangnekar 1.5k Sep 22, 2021
GraphQL parser comparison in different languages

graphql-parser-bench Parsing a schema or document can be a critical part of the application, especially if you have to care about latency. This is the

Dustin Deus 17 Sep 4, 2021