New Horizons API is the backend server for the New Horizons service, responsible for processing, computing, and storing all application data.
- Clone the repository
git clone https://github.com/new-horizons-project/yn-api.git
cd yn-api- Set up environment variables
- Copy the example environment file:
cp .env.example .env- Edit
.envto configure your database credentials, API settings, etc.
- Start the application
docker-compose up --build -d- Make sure PostgreSQL credentials in
.envmatch thedocker-compose.yamlconfiguration. - Logs can be viewed with:
docker-compose logs -f- The API is available at port
9002by default
This project uses following open-source libraries:
| Package | License |
|---|---|
| FastAPI | MIT |
| SQLAlchemy | MIT |
| asyncpg | Apache 2.0 |
| PyJWT | MIT |
| passlib | BSD |
| Pydantic | MIT |
| pydantic-settings | MIT |
| Colorama | BSD |
Special thanks to the authors and maintainers of these libraries for their contributions to the open-source community.
| Role | Contributor |
|---|---|
| Lead Backend Developer | @at-elcapitan |
| Backend Developer | @phantom42-web |