To run it locally -
- Fork the repo and clone it.
- Make sure you have
npm
Node.js & MongoDB installed in your system. - [Only once] Run (from the root)
npm install
andcd client && npm install
. - Open two terminal windows (one for running Server and other for the UI).
- Run
npm start
to start the server. By default it will run onport 5000
. - For UI build
npm run build
. - You can see your project on
port 5000
by default.
module.exports = {
jwtSecret: JWTSECRET||'123456',
mongodburi: '' //your mongodb uri
};
You can config mongoDB in config.js file.
and you have to config server url on /client/src/Config.js file.
module.exports={
BASE_URL:'' //server url
}