/fonteneles-cup

This project is personal and intended for use on leisure days, organizing FIFA tournaments.

Primary LanguageTypeScript

API

Project under construction.

This project was created to meet the need for a free platform to organize FIFA tournaments with friends.

To run the project, follow these steps:

1 - Install dependencies using:

npm i

2 - Start the local database with:

docker-compose up

Don't forget to run migrations and seeds to populate initial data and create the necessary tables.

3 - Run the project with:

npm run start:dev

To run migrations, seeds, and everything related to the database, use the following commands:

npm run ts-knex -- --knexfile=src/database/knexfile.ts migrate:make -x ts migration-name
npm run ts-knex -- --knexfile=src/database/knexfile.ts seed:make -x ts seed-name
npm run ts-knex -- --knexfile=src/database/knexfile.ts migrate:latest
npm run ts-knex -- --knexfile=src/database/knexfile.ts seed:run
npm run ts-knex -- --knexfile=src/database/knexfile.ts migrate:rollback

contact: my-linkedin