It was created as a helper-api for ppt-dumbot to access the database items without cluttering up the main codebase.
Yes, it can run locally but you can't access the ✨ main database✨ , you can however create your own database and replace the
client: str = os.environ.get("mongoDb") here to client: str = your mongodb access key.
Since its built with fast-api you can just run:
uvicorn main:app --reload
- Add Authentication to limit access to database.
- Improve Security
- Add GET methods to retrieve items
Any type of Contribution is Appreciated.
- Use PEP-8 guidelines.
- Use typehinting wherever possible.
Special Thanks to EvilGraffes and Blackfinix for all the content in the Database.
➡ Hey, do you think it was a Good Idea to publicize your API without adding a Proper Authentication System?
No :)