A full-stack web-based memory game where users test and improve their memory skills by matching boxes. This project includes secure authentication, modern UI, and a scalable backend architecture.
Game of Memory is an interactive web application built using the MERN stack. Users can sign up, log in (including Google OAuth), and play a memory game with a smooth and responsive UI. The application follows best practices for scalability, security, and maintainability.
- React.js (Vite)
- Redux Toolkit
- React Router
- Bootstrap & React Bootstrap
- Axios
- Google OAuth
- React Toastify
- Node.js
- Express.js
- MongoDB & Mongoose
- JWT Authentication
- Google Auth Library
- bcryptjs
- Helmet & Rate Limiting
- CORS
โ
User authentication (JWT + Google OAuth)
โ
Secure password hashing
โ
Responsive UI
โ
Memory box matching game
โ
Redux state management
โ
API-based architecture
โ
Protected routes
โ
Environment-based configuration
โ
Scalable and modular project structure
game_of_memory/
โ
โโโ game-of-boxes/
โ โโโ src/
โ โโโ components/
โ โโโ redux/
โ โโโ pages/
โ
โโโ game-of-boxes-backend/
โ โโโ controllers/
โ โโโ models/
โ โโโ routes/
โ โโโ middleware/
โ
โโโ README.md
git clone https://github.com/kiranwankhade/game_of_memory.git
cd game_of_memorycd game-of-boxes-backend
npm install
PORT=5000
MONGO_URI=your_mongodb_connection
JWT_SECRET=your_secret_key
GOOGLE_CLIENT_ID=your_google_client_id
npm run dev
cd game-of-boxes
npm install
VITE_API_URL=http://localhost:5000
VITE_GOOGLE_CLIENT_ID=your_google_client_id
npm run dev
This project uses .env files for security and configuration. Do not commit these files to version control.
The backend provides RESTful APIs for:
- User Authentication (Signup, Login, Logout)
- Google OAuth Authentication
- JWT-based Authorization
- Protected Routes
- Secure Password Hashing
- User Session Handling
- Game Logic and Data Management
You can deploy the project using the following platforms:
- Vercel โ [https://game-of-boxes.vercel.app/]
- Render โ [https://game-of-memory-4k8z.onrender.com]
- MongoDB Atlas
| Light Mode | Dark Mode |
|---|---|
![]() |
![]() |
| Game Screen | Leaderboard |
|---|---|
![]() |
![]() |
| Profile | Sign In |
|---|---|
![]() |
![]() |
| Toast Message |
|---|
![]() |






