Skip to content

A Leaderboard sever api hosted on cyclic for the Flipgame. Made using Node + Express and uses MongoDB Atlas to host it database

Notifications You must be signed in to change notification settings

Aayush65/leaderboard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leaderboard

This is the repository for the backend server for the hosted Flipgame website. This server is hosted on Cyclic.

Flip Game

It is a Memory-based Game made up of flipped tiles with images on their rear side. One has to match cards bearing identical pictures with the least amount of flips to win the game. It is also integrated with a real-time leaderboard.

You can play this amazing game here

Site - Features

  • Responsive Design
  • Clean and Minimalistic UI
  • No logging in
  • Real-Time Leaderboard

Tech Stack

  • NodeJS
  • TypeScript
  • Express
  • MongoDB Atlas

Frontend

The front end for this site is hosted on Github Pages. The repository for the frontend is here.

Deployment

Before deploying the frontend, run the following commands for a successful deployment

  git clone https://github.com/Aayush65/flipgame
  cd flipgame

After doing the above, create a .env file and a MongoDB atlas database.

Set the env variables accordingly:

  • MONGO_URL
  • PORT

Now, install the required packages and run the server

  npm install
  npm run dev

After deploying the server, deploy the frontend here.

Performance

Lighthouse score

Demo

Hosted site link

Demo video:

FlipGame.+.Leaderboard.mp4

About

A Leaderboard sever api hosted on cyclic for the Flipgame. Made using Node + Express and uses MongoDB Atlas to host it database

Resources

Stars

Watchers

Forks