-
Step 1: install dependencies/node_module
-
Go to /backend directory for backend setup and run
npm install
-
Go to /frontend directory for frontend setup and run
npm install
-
-
Step 2: Configure mongodb connection url Go to backend directory and create .env file and put into
MONGODB_PATH=your-mongodb-connection-url
-
Step 3: Change server port and cors origin (Optional) by default your server running in port
http://localhost:9000
and cors origin/frontend url ishttp://localhost:3000
, you can change port and cors, simply put this key into your .envSERVER_PORT=your-port
andCORS_ORIGIN=-your-client-origin
-
Step 4: Run project in your backend
npm run serve
for start node server andnpm run start
for frontend