- Node installed on your machine.
- MongoDB URI to connect with Database.
- Check
extensions.json
file in .vscode directory so me of these extensions are required for maintain code consistency.
- Fork the Stackinflow to your own GitHub account.
- Clone the forked repository to your local machine.
- Create
.env
file and fill environment variables as following written in.env.example
file. - Goto server then run
npm i
to install the dependencies for server - Goto server then run
npm i
to install the dependencies for frontend.
To run development server on your local machine, navigate inside server directory then run:
npm run watch
To run development frontend on your local machine, navigate inside client directory then run:
npm start
To generate a production-ready version of your code, run:
npm run build
To test production-ready version of your code, run:
npm start