Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebasnop/factored-backend
https://github.com/sebasnop/factored-backend
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sebasnop/factored-backend
- Owner: sebasnop
- Created: 2024-06-06T03:02:43.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-06-07T21:55:36.000Z (5 months ago)
- Last Synced: 2024-06-08T20:56:30.917Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backend for Factored Employees
This repository contains the backend for Factored Employees app.
This backend was build using `FastAPI` and `SQLAlchemy` for ORM.
Also, it is used `uvicorn` to run this backend.
The entry point or running the project is `main.py`.
## Endpoints
As you can see on `app/api.py`, the application have the next endpoints:
- `/login/`: Basic user authentication.
- `/employees/`: Getting all employees from database.
- `/create_employee/`: Creating a new employee into database.
- `/employees/{employee_id}`: Getting an employee by its id.
- `/delete_employee/{employee_id}`: Deleting an employee by its id.## Docker
The `Docekfile` in this repository will let you to run the project easily.
The `requirements.txt` provide the neccesary packages that Docker use to build its image.
## Author
This project was made by Sebastian Valencia Zapata as part of [Factored](https://factored.ai/) assessment.