Skip to content

Back-end. A Soccer Club API with Authentication and Authorization. Made with Node.js and Sequelize. Following MSC architecture, OOP and SOLID principles.

ibrahimborba/tfc

Repository files navigation

Welcome to Trybe Futebol Clube (TFC) project!

A RESTful API that uses MSC architecture to visualize, search and filter soccer matches and team's scores. Developed at Trybe's Back-end Module, OOP and SOLID.

Summary

Context

This project is a Soccer Club that uses Sequlize to connect with a MySQL database to manage teams, matches and users. Main features:

  • Authentication and Authorization | Logged users can add and update matches progress. Visualizations doesn't require login.
  • Visualize and Filter | Users can visualize all matches, or filter if they're in progress or not. And visualize the full leaderboard or filter by team origin (home or away).

Technologies, tools and architectures used

This project used the following technologies, tools and patterns:

Installing and running the app

Install dependencies

cd tfc
npm install

Run the application with Docker (compose configs were developed by Trybe's team)

cd app
docker-compose up -d

Run back-end application after running Docker

cd backend
npm run dev

Run front-end application after running Docker

Front-end was developed by Trybe's team

cd frontend
npm start

Run back-end tests

Run all tests

backend
npm run test

See test coverage

npm run test:coverage

Notes

Documentation

API's documentation can be found here.

Code quality

To enforce Clean Code and good practices, the following standards and resources were used in this project:

  • Linter | Developed following the Clean Code standards specified by Trybe's ESLint.

Git, GitHub and Commits

Commited using the Conventional Commits specification with some types from Angular convention.

About

Back-end. A Soccer Club API with Authentication and Authorization. Made with Node.js and Sequelize. Following MSC architecture, OOP and SOLID principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published