#Treasure Hunt
This repository contains the source code to the website and server used as the contest portal and leaderboard in order to make the hunt more interactive and engaging.
- A clue will be provided at each level.
- Each level in the treasure hunt consists of a riddle that is to be solved to access the next riddle.
- Once you solve clue the score will be updated.
- Hunt is sucesful only if all the clues are answered
Features Check List: User Registration and Authentication Clues User Progress Leaderboard(can only be accessed by admin)
Admin Credentials: Userid:admin123 password:admin123 email:admin@gmail.com
This hunt tests various soft skills of User like that of Creative Thinking,Critical Thinking,Aptitude,General Knowledge and Problem Solving
-
Add your
.env
file to the root directoryYou can refer
sample.env
for the same -
Install the required dependencies using
$ npm i --force
The
--force
flag is used as one of the dependency would fail to install without it. -
In the project root directory, you can run:
$ npm start
Runs the website in the development mode. Open http://localhost:3000 to view it in your browser.
-
Launch another terminal and switch to the server directory, by running:
$ cd server
-
Add your
.env
file to the server directoryYou can refer
server/sample.env
for the same -
Install the required dependencies using
$ npm i
-
In the server directory, you can run:
$ npm start
or
$ nodemon .
Runs the server in the development mode at http://localhost:5000.