This repository contains the backend for the CodeElevate project. The backend is a RESTful API that is designed to be used by the frontend of the CodeElevate project.
The API can be accessed at https://code-elevate.gopalsaraf.com/api.
The API documentation can be found on https://code-elevate.gopalsaraf.com/docs or here.
-
/users
- Routes starting with/users
are used to manage users and their authentication. More Info -
/manage
- Routes starting with/manage
are used to manage contests and problems. More Info -
/contests
- Routes starting with/contests
are used to get information about contests. More Info -
/problems
- Routes starting with/problems
are used to get information about problems. More Info
This backend is designed to be deployed as a Docker container. It is recommended to use the provided compose.yml
file to deploy the backend.
- Docker
- Docker Compose
git clone https://github.com/Code-Elevate/Backend
cd Backend
mv .env.example .env
nano .env
While editing the .env
file, make sure to fill in the REQUIRED fields. Without these fields, the backend will not work.
docker compose up -d
docker compose logs backend
docker compose down
docker compose stop backend
This project is licensed under the MIT License - see the LICENSE file for details.