- NODE JS , EXPRESS JS
- REACT JS , TAILWIND CSS
- MONGODB
Must be Node JS installed on your device.
- Clone the repository by using this command ➡️
https://github.com/Ani-Bos/Emitrr_Assignment.git
- Open the terminal in that folder.
- In the terminal, run ➡️
cd Server
- Now run ➡️
npm install
- Now run ➡️
cd ../
- Now run ➡️
cd client
- Now run ➡️
npm install
- Now exit from the terminal. Now, you are all set up to run the app on your device.
- Open the folder in VS Code.
- Create a new file named ".env".
- Now write a line in the .env file
MONGO_USERNAME = <YOUR_PRIVATE_MONGO_USERNAME>
andMONGO_PASSWORD = <YOUR_PRIVATE_MONGO_PASSWORD>
- Now write another line in the .env file
JWT_SECRET = <YOUR_PRIVATE_JWT_SECRET>
- Open the terminal in the folder.
- Run ➡️
cd Server
- Run ➡️
npm run dev
- The backend will run on ➡️ PORT(5000)
- Open another new terminal in the same folder.
- Run ➡️
cd client
- Run ➡️
npm start
- The frontend will run on ➡️ PORT(3000)
- Please upload questions I have created API for uploading as lot of languages and category are there I have used some dummy questions for testing purpose only.
- Open http://localhost:3000 in your browser; you will see that the website is live in your system 🎉.