Skip to content

An informational site about football matches and rankings. Made the back-end part of it, with OOP following the principles of SOLID and TDD

Notifications You must be signed in to change notification settings

RafaelCunhaS/Trybe-Football-Club

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trybe Football Club

Back-end project made while studying at Trybe, a web development school.

The TFC is an informational site about football matches and rankings. On the development of this project I was responsible for developing an API (in a TDD way) and also integrate (through docker-compose) both front and back-ends so they work toghether consuming a database(MySQL).

The front-end was ready, so my function was to work on the back-end modeling the database with Sequelize, TypeScript and OOP, with a RESTful API so that the front could consume my endpoints properly, also make sure some business rules were complied and leave the back-end with at least 90% integration test coverage using Mocha, Chai and Sinon.

It is also possible to create, update or delete (CRUD) a match, but only an administrator is able to do so, and a token(jsonwebtoken) is required, therefore the person needs to be logged on to be able to make these changes.

📋 Dependencies needed to run the project

🔧 How to run the project

    # Clone the repository
    $ git clone [email protected]:RafaelCunhaS/Trybe-Football-Club.git

    # Go into the project's directory
    $ cd Trybe-Football-Club

    # Build the project (the project will be running on the background when the build is finished)
    $ npm run compose:up
    
    # You can use the following email and password for the login to change/create matches
    $ email: [email protected]
    $ password: secret_admin

The project will be running on your localhost:3000

About

An informational site about football matches and rankings. Made the back-end part of it, with OOP following the principles of SOLID and TDD

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •