Schoolsyst's next API implementation, built with FastAPI
See documentation at https://beta.api.schoolsyst.com/
Note A docker image is in the works (the database part is not ready yet)
- Install Poetry if you don't have it yet.
- Clone the repository
git clone https://github.com/schoolsyst/api-next
- Make your
.env
file and fill it with your values:cp .env.example .env nano .env
- Install dependencies
poetry install
- Install ArangoDB (no need if you have docker)
- Start arangodb
# with soystemd sudo systemctl start arangodb3 # with systemv sudo service arangodb3 start # with docker (easier) docker run -d -p 8529:8529 -e ARANGO_ROOT_PASSWORD="<your_.env_file's_password>" arangodb/arangodb:3.6.5
- Test to make sure everything is alright
make test
- Start it (finally!)
make dev