You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/db.py - contains database engine and a function to create database sessions.
src/migrations.py - database creation code.
src/models.py - database' models code.
src/routers.py - contains all of the application's CRUD routers.
src/schemas.py - contains Pydantic schemes.
requirements.txt - a list of project's dependencies.
README.md - project's documentation file.
Application routes
/create - creates new entry in the main database (data for the entry is passed in request's body as {'nodes' : 'string'}; returns entry's assigned UUID in response)
/update/{node_id} - updates database entry by its UUID
/delete/{node_id} - deletes database entry by its UUID
/get/{node_id} - returns database entry's data by its UUID
/get - returns all the entries in the database
Launching the project (in development mode)
Open project's folder through the system's terminal