This is Metguessr, an online game where the user is given five random artifacts from The Met, and needs to guess when they were made. Users can record their scores by logging in / signing up, view their profile stats, as well as see the global leaderboard.
- Clone the repository
- In the root directory, run
docker-compose pull
to ensure the latest images - In the root directory, run
docker-compose up -d
to start the system - Run
docker-compose ps
to verify all containers started successfully
After starting the system, navigate to http://localhost in your browser to view the webapp locally
- Clone the repository
- Ensure that MongoDB is running locally
- In the
backend
directory, create a.env
file and addMONGO_HOST="localhost"
- In the
backend
directory, runpip install -r requirements.txt
- In the
backend
directory, runpython app.py
- In the
frontend
directory, runnpm install
- In the
frontend
directory, runnpm start
After starting the system, navigate to http://localhost:3000 in your browser to view the webapp locally