https://github.com/jod35/build-a-rest-api-with-fastapi-beanie-and-mongodb
This is source code for a video Building A REST API With FastAPI, Beanie and MongoDB
https://github.com/jod35/build-a-rest-api-with-fastapi-beanie-and-mongodb
beanie fastapi mongodb motor python
Last synced: 6 months ago
JSON representation
This is source code for a video Building A REST API With FastAPI, Beanie and MongoDB
- Host: GitHub
- URL: https://github.com/jod35/build-a-rest-api-with-fastapi-beanie-and-mongodb
- Owner: jod35
- Created: 2022-07-26T08:24:50.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-20T21:40:36.000Z (about 3 years ago)
- Last Synced: 2025-04-01T17:23:21.866Z (6 months ago)
- Topics: beanie, fastapi, mongodb, motor, python
- Language: Python
- Homepage:
- Size: 2.93 KB
- Stars: 8
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Task API
this is a simple CRUD app for tasks built using FastAPI, MongoDB and the Beanie ODM.
## Run the application
1. Install all the dependencies for the project with
```
pip install -r requirements.txt
```
2. Run the application with
```
python run.py
```## endpoints
- GET /tasks getalltasks
- POST /tasks createTask
- GET /tasks/{task_id} retrieveTask
- PUT /tasks/{task_id} updateTask
- DELETE /tasks/{task_id} deleteTask