- 🖥 Javascript,Css
- 💼 NodeJs, ExpressJS ,Reactjs, React Redux
- 💾 Mongoose
- 🌐 Restful Api
Create .env file contain after variables, replace {placeholder} with your config. For install mongoose
$ npm install mongoose
DB_HOST=0.0.0.0 #you can replace with other server ip here.
DB_DATABASE={database name}
DB_USERNAME={database username}
DB_PASSWORD={database password}
JWT_SECRET={jwt secret key}
For development environments...
npm install --development
NODE_ENV=development node app
For production environments...
npm install --production
NODE_ENV=production
sudo pm2 start npm -- start
For install React Redux
# If you use npm:
npm install react-redux
# Or if you use Yarn:
yarn add react-redux
For install React Redux
$ npm install express --save
For install Nodemon
npm install -g nodemon
For instal body Parser
$ npm install body-parser