TypeBattle is a multiplayer online browser-based typing game. In TypeBattle, players complete typing tests of various texts as fast as possible, competing against themselves or with other users online
- Authentication
- Authorization
- Responsive
- Cross platform
Framework: Vite
Client: HTML, CSS, JavaScript
Server: Node.js, Express.js, Socket.io
Database: MongoDB, Redis
Clone the project
git clone https://github.com/faraz412/acceptable-straw-3421Go to the project directory
cd acceptable-straw-3421Install dependencies
npm installStart the server
node index.jsTo run this project, you will need to add the following environment variables to your .env file
key
mongourl
PORT
GET /api POST /api/user/register POST /api/user/login POST /api/admin/register POST /api/admin/login GET /api/content/ POST /api/content/addcontent PATCH /api/content/update/:id DELETE /api/content/delete/:id

