Skip to content

TIC-13/benchmark-ranking-back

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmarking Ranking

This project is a benchmarking ranking API developed with Node.js, Express, TypeScript, and Prisma.

Prerequisites

Make sure you have Node.js installed on your machine.

Installation

  1. Clone this repository;

  2. Navigate to the project directory;

  3. Install the dependencies:

    yarn

Environment

In the .env file, assign a base64-encoded 32-byte (AES-256) value to API_KEY. Ensure that this key is the same as the one used in the client applications.

Prisma Configuration

  1. Make sure you have a database configured and update the .env file with your database URL. Example:

    DATABASE_URL="mysql://user:password@localhost:3306/database-name"
    
  2. Run the Prisma migration to configure the database:

    npx prisma db push

Running the application

  1. To start the server, run:

    npm run start
  2. The server will be running at http://localhost:3000.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published