Chorey is a full-stack API application built with FastAPI, allowing users to create and edit chores, providing user authentication and authorization, and using Jinja2 for rendering data from the backend to the frontend.
- Create Chores: Users can create new chores with details such as title, description, due date, and assigned user.
- Edit Chores: Existing chores can be edited to update their details.
- Authentication and Authorization: Secure user authentication and authorization mechanisms are implemented to control access to API endpoints.
- Jinja2 Templating: Jinja2 is used to render data from the backend to the frontend, providing dynamic and interactive user interfaces.
- FastAPI
- Python
- SQLite (or your preferred database)
- Jinja2
- JWT for authentication
-
Clone the repository:
git clone https://github.com/RemyAde/FullstackChoreApp.git
-
Install dependencies:
pip install -r BackEnd/requirements.txt
-
Set up environment variables for database connection and JWT secret key.
-
Run the application:
uvicorn main:app --reload
- Register and authenticate as a user to obtain a JWT token.
- Use the token to access protected endpoints for managing chores.
- Use the frontend interface powered by Jinja2 to interact with the application.
Detailed API documentation is automatically generated and can be accessed at /docs
endpoint when the server is running. It provides information about all available endpoints, request parameters, and response formats.
This project was inspired by the "FastAPI - The complete course" by codingwithroby.