- Node installed on your machine.
- MongoDB URI to connect with Database.
- Check
extensions.jsonfile 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
.envfile and fill environment variables as following written in.env.examplefile. - Goto server then run
npm ito install the dependencies for server - Goto server then run
npm ito install the dependencies for frontend.
To run development server on your local machine, navigate inside server directory then run:
npm run watchTo run development frontend on your local machine, navigate inside client directory then run:
npm startTo generate a production-ready version of your code, run:
npm run buildTo test production-ready version of your code, run:
npm start