Epitech global nomade track angular project
A multiplayer (online) version of “Street fighter” with Angular as frontend and a backend built with Node.js
Students will have to build a multiplayer (online) version of “Street fighter” with Angular as a frontend. The website will have all the functionality of a multiplayer game:
- account management
- a matching system
- a ranking system
- a hall of fame
- a fighting room ( a chat system must be included in the room so the opponents can exchange messages)
- a training room
- a friendship system
During the fight, players will have the possibility to:
- Move frontward and backward
- Jump and crouch
- Attach with hands and feets
- Throw fire ball
A health and damage management system must be setup by the students.
If you have a Mac running on arm64 ( with a m1 chipset for example ) please follow the following step to install/run the project
1) Right click the app (Terminal, iTerm, etc.)
2) Tap "Get Info"
3) Select "Open using Rosetta"
4) Restart terminal and you're good to go!
nvm use 12.20.2
$ npm install
To synchronize the database with the latest Prisma schema, please use:
$ npx prisma generate --schema=./prisma/schema.prisma
$ npx prisma migrate dev --schema=./prisma/schema.prisma --name init
It will create the database and tables if necessary. Otherwise, Prisma generates internal JS files to work with the CLI that we use. You can find it in ./src/server/database.ts
.
Create a .env file copy .env.example
and fill the blank with your information
# development
$ npm run start
# watch mode
$ npm run start:dev