https://github.com/new-horizons-project/yn-api
Backend of New Horizons SaaS
https://github.com/new-horizons-project/yn-api
backend backend-api docker elasticsearch fastapi jwt-authentication postgresql python redis sqlalchemy
Last synced: 3 months ago
JSON representation
Backend of New Horizons SaaS
- Host: GitHub
- URL: https://github.com/new-horizons-project/yn-api
- Owner: new-horizons-project
- License: other
- Created: 2025-08-03T09:56:25.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-12-22T16:15:09.000Z (6 months ago)
- Last Synced: 2025-12-23T07:58:05.309Z (6 months ago)
- Topics: backend, backend-api, docker, elasticsearch, fastapi, jwt-authentication, postgresql, python, redis, sqlalchemy
- Language: Python
- Homepage:
- Size: 1.33 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README







# New Horizons API
###### The New Way of Storing Knowledge
### About
New Horizons API is the backend server for the New Horizons service, responsible for processing, computing, and storing all application data.
## Installation and Running
### Requirements
- [Docker](https://docs.docker.com/get-docker/)
- [Docker Compose](https://docs.docker.com/compose/install/)
- [Git](https://git-scm.com/)
---
### Using Docker
1. **Clone the repository**
```bash
git clone https://github.com/new-horizons-project/yn-api.git
cd yn-api
````
2. **Set up environment variables**
* Copy the example environment file:
```bash
cp .env.example .env
```
* Edit `.env` to configure your database credentials, API settings, etc.
3. **Start the application**
```bash
docker-compose up --build -d
```
### Notes
* Make sure PostgreSQL credentials in `.env` match the `docker-compose.yaml` configuration.
* Logs can be viewed with:
```bash
docker-compose logs -f
```
* The API is available at port `9002` by default
## Credits
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.
### Development Team
| Role | Contributor |
|-------------------------|-------------|
| Lead Backend Developer | [@at-elcapitan](https://github.com/at-elcapitan) |
| Backend Developer | [@phantom42-web](https://github.com/phantom42-web) |