JakubZojdzik / SOK-api

API for competition system named SOK (System Organizacji Konkursów) with challenges, ranking, submissions, login and registration system.
https://api.madralo.pl
MIT License
1 stars 1 forks source link
api competition express monorepo

SOK API

SOK API is an API for a competition system, providing endpoints for managing users, challenges, submissions, announcements, and competition. It is built using Node.js and Express.js, and it is released under the MIT license.

Environment Variables

To run SOK API, you need to set several environment variables in a .env file. Here is a list of the required environment variables and their descriptions:

Competition Configuration

PostgreSQL Configuration

SMTP Configuration

Client Configuration

JWT Configuration

Admin Account Configuration

pgAdmin (optional)

Getting Started

To get started with SOK API, follow these steps:

  1. Clone this repository to your local machine.
    git clone https://github.com/JakubZojdzik/SOK-client.git
  2. Create a .env file in the root directory of the project and set the required environment variables as described above.
  3. Start api in dev mode using docker-compose:
    docker-compose up -d

Docker Compose

Docker Compose will run the following containers:

SOK Client

You can find Client for this project in this repository

License

This project is licensed under the MIT License.

Contributing

If you find a bug or have an idea for an improvement, please create an issue or submit a pull request.