The official Backend API for Scavanger Of The Year'24 Event Portal
"Scavanger Of The Year" (SOTY), a treasure hunt event website where participants engage through the site.
- Node.js
- Express.js
- MongoDB
- User Authentication
- Single user Login
- Users gets Question from each category of difficulty level(Easy, Medium, Hard)
- Users cannot move to next question until currect question is answered
- Scan correct qr to get points and next question
- Two consecutive incorrect answers blocks the user for the next 2 mins from scanning qrs and answering
- Seeders for seeding questions to the DB( All users will get question present in seederQuestion.js)
- Admins can directly change teams scores
- Admins can Ban users for next 15 mins
- Admins can UnBan user immediately
-
Clone the Repository:
git clone https://github.com/MFC-VIT/SOTY-Backend-24.git
-
Install all the dependencies:
npm i
-
Update the .env file with our configs.
-
Update the questions.json file with the questions, answers, points, difficultyLevel, answered as pending.
-
Update the seederQuestions.json file with the questions, points, difficultyLevel, answered as false.
-
To Start the server:
npm start
-
To seed questions to DB:
cd seeders
&&node seedQuestions.js
-
Use postman and test the api at the endpoints
Harshit P G |
Copyright © 2024, MozillaFirefox-VIT, Harshit P G and all other contributors. Released under the MIT License.
Made with ❤️ by MFC-VIT