This repo contains full stack project SKY MANAGER in which users can manage a soccer team with real players in a virtual league.
SKY MANAGER is made with Node.js and Express.js for the part of the server, and the client part is made with AngularJS.
You need to have installed NodeJS with npm, bower and MongoDB
You need to create an .env file in the project root with the following environment variables configured:
-
Port:
PORT=3000 -
Mongodb path and database to use:
DB_URI=mongodb://localhost:27017/NAME_DB -
Secret word to encrypt users' passwords:
SECRET=XXXXXXXXXXXXXXXXXXXXXX
$ npm start
All dependencies will be installed automatically
The server part has multiple API endpoints using several routes:
/api-> Serves the internal data of the users and players./auth-> Serves the authentication options, register and login.
-
Front-end
- angular: 1.6.4
- angular-route: 1.6.5
- angular-jwt: 0.1.9
- angular-css: 1.0.8,
- angular-sweetalert: 1.1.2,
- browserify: 14.4.0
- gulp: 3.9.1,
- bower: 1.8.0
- bootstrap: 3.3.5
- font-awesome: 4.7.0,
- icomoon-bower: 0.1.2,
- jquery: 3.2.1,
- angular: 1.6.4
-
Back-end
- dotenv: 4.0.0
- express: 4.15.3
- express-jwt: 5.3.0
- jsonwebtoken: 7.4.1
- mongoose: 4.10.5,
- mongoose-simple-random: 0.4.1,
- passport: 0.3.2,
- passport-jwt: 2.2.1,
- passport-local: 1.0.0,
- passport-local-mongoose: 4.0.0












