An open API service indexing awesome lists of open source software.

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

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