This is the backend for "Football Draft Simulator" project. It exposes a http server and a websockets server in NodeJS environment. Also servers the Algolia Search engine for supporting football players search from data scraped using Football Players Data Crawler
It's a turn-based multiplayer game. This game in particular allows you to build your own Football Team, by choosing players based on turns. You can search these football players in the same platform. Filter them based on any stats (their name, rating, team, positions, and a lot more!)
To play:
This was created mainly for offline gaming, to avoid writing player lists manually on a paper or sending on chats when creating custom teams amongst a group of friends. Easily search and add players to your teams with this platform as a middleman :smile:
.env
file using reference from sample.env
yarn install
to install packagesdocker-compose up
yarn start:dev
will start the server with hot-reloadssh-keygen -f ~/.ssh/gcloud_id_rsa
Build and use pm2 to start your process
npm run build
pm2 start ./build/app.js --name fifa-api