- Git Clone the Repository - ** git clone https://github.com/SilvinPradhan/Quiz-App-MEAN.git quiz-application-clone **
- Go into the Project - ** cd quiz-application-clone **
- Install the Packages in both the folders:
** npm install **
** cd quiz-app-mean **
** npm install ** - Run Server and Client Side Locally
- For Client Side: [If you are inside the Folder(quiz-app-mean)]: ** ng serve -o **
- For Server Side: [If you are inside the root folder, i.e, quiz-application-clone]: Open another terminal, // It opens the Server to test published End Points
-
Type the command in the terminal
** npm run server **
- Web View
5. Get All Quizzes -End Point
- Get one quiz with the End Point ** router.get('/quiz/:id', listSingle); ** This end point is used on fetching the data from the MongoDB using its "_id" value.