/fifa-champs

Primary LanguageTypeScript

fifa-champs

An Angular 2 Application with a NodeJS backend to control EA Sports Fifa matches between a set of players.

Dependencies:

Install node

On OSX:

Install brew
brew install node

On Windows:

Run Backend

Install mongo

brew install mongodb

On windows:

install dependencies

cd fifa-champs
cd api
npm install

Run mongo On OSX:

mkdir -p /data/db 
./run_mongo.sh

On Windows:

mongod --port 27017 --dbpath data/db

Run server

npm start

To run backend tests:

npm test

Run Frontend

cd ../webapp
npm install
sudo npm install -g @angular/cli
ng serve

Webapp admin password

An admin user is created, the username is admin and the password is admin