/dojo-app

Primary LanguageJavaScript

.env file in the backend directory

JWT_SECRET = 'your_secret'

MONGO_USERNAME = 'user_name'

MONGO_PASSWORD = 'password'

MONGO_CLUSTER = 'cluster_name'

MONGO_DBNAME = 'db_name'

(in production only: PORT = 5001)

Start backend command

(First time only : npm i)

node index.js

.env file in the frontend directory

(in production only: PUBLIC_URL = 'public_url')

Start frontend command

(First time only : npm i)

npm start