Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Checkmate Express

Checkmate Express is the backend API for a chess tournament management application, developed as part of the professional training at Technifutur.

This API manages users, tournaments, and match pairings, providing a secure and scalable architecture for chess organizers.


Tech Stack

The project is built with Node.js (ES Modules) and uses the following key libraries:


Front-End Application

A front-end application is currently under development in the https://github.com/Dranhoc/Checkmate_Angular repository. In the meantime, you can test all features directly through this API.

Installation & Setup

1. Clone the repository

git clone https://github.com/Dranhoc/Checkmate_Express
cd Checkmate_Express

2. Install dependencies

npm install

3. Environment Variables

Rename '.env.example' in '.env' and fill the 'XXX' with your credentials

4. Usage

Runs the server with nodemon for automatic restarts on file changes

npm run dev

5. Database Seeding

To populate the database with initial data

npm run seed

6.API Documentation

Once the server is running you can explore and test the API endpoints via the interactive Swagger documentation at : http://localhost:3000/api-docs (Default port)

7. Project Struture

  • src/index.js - Application entry point.
  • src/database/ - Sequelize configuration, models, and seeders.
  • src/routes/ - API route definitions.
  • src/controllers/ - Business logic and request handling.
  • src/middleware/ - Auth guards, Zod validation, and error handling.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages