cruffinoni / EPI_angular_backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NodeJS Logo

Epitech global nomade track angular project

A multiplayer (online) version of “Street fighter” with Angular as frontend and a backend built with Node.js

Description

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.

Disclaimer MacOS arm64

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!

Version

nvm use 12.20.2

Installation

 $ npm install

Database

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.

Dotenv

Create a .env file copy .env.example and fill the blank with your information

Running the app

Frontend:

# development
$ npm run start

# watch mode
$ npm run start:dev

Collaborator

Clement SCHMITTE

Mai-ly LEHOUX

Clement RUFFINONI

Alexis WALTER

If you have any trouble to run/use the project please contact one of us.

About


Languages

Language:TypeScript 97.9%Language:JavaScript 1.9%Language:Shell 0.2%