This is the repository for the backend server for the hosted Flipgame website. This server is hosted on Cyclic.
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
- Responsive Design
- Clean and Minimalistic UI
- No logging in
- Real-Time Leaderboard
- NodeJS
- TypeScript
- Express
- MongoDB Atlas
The front end for this site is hosted on Github Pages. The repository for the frontend is here.
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.
Hosted site link
Demo video: