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/usersare used to manage users and their authentication. More Info -
/manage- Routes starting with/manageare used to manage contests and problems. More Info -
/contests- Routes starting with/contestsare used to get information about contests. More Info -
/problems- Routes starting with/problemsare 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/Backendcd Backendmv .env.example .envnano .envWhile editing the .env file, make sure to fill in the REQUIRED fields. Without these fields, the backend will not work.
docker compose up -ddocker compose logs backenddocker compose downdocker compose stop backendThis project is licensed under the MIT License - see the LICENSE file for details.