Skip to content

Latest commit

 

History

History
53 lines (28 loc) · 841 Bytes

README.md

File metadata and controls

53 lines (28 loc) · 841 Bytes

Product-Listing

Tech stack: MERN + Redux

Install dependencies for server

cd api ---> npm install

Install dependencies for client

cd client ---> npm install

.env is as follows:

MONGODB_URL =

ACTIVATION_TOKEN_SECRET =

ACCESS_TOKEN_SECRET =

REFRESH_TOKEN_SECRET =

CLIENT_URL = http://localhost:3000

MAILING_SERVICE_CLIENT_ID =

MAILING_SERVICE_CLIENT_SECRET =

MAILING_SERVICE_REFRESH_TOKEN =

SENDER_EMAIL_ADDRESS =

CLOUD_NAME =

CLOUD_API_KEY =

CLOUD_API_SECRET =

Connect to your mongodb and add info in .env

Run the client & server simultaneously

Run the nodemon Server only

npm run dev

Run the Express server only

npm run server

Run the React client only

npm run client

Server runs on http://localhost:5000 and client on http://localhost:3000