Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 1.07 KB

README.md

File metadata and controls

60 lines (41 loc) · 1.07 KB

Not Twitter

Extensions

  • Babel Javascript by Michael McDermott
  • ESLint by Microsoft
  • Prettier - Code formatter by Prettier

Install Dependencies

Server

cd ./server && npm i -D

Client

cd ./client && npm i -D

Run

Server (with live reload)

cd ./server && npm run dev

Server (without live reload)

cd ./server && npm start

Client (standalone with live reload)

cd ./client && npm start

Client (with server and live reload)

cd ./client && npm run dev

Environment Variables

The following is the schema for the environment variables used in the server.

Variable Name Description
DB_HOST The hostname of the database server.
DB_USER The username to authenticate with the database.
DB_PASS The password to authenticate with the database.
DB_PORT The port on which the database server is listening.
DB_NAME The name of the database to connect to.
JWT_SECRET The secret key used to sign JSON Web Tokens for authentication.