Loading repository dataβ¦
Loading repository dataβ¦
Adrode / repository
π Users & Notes API is a REST API project for managing users and notes. Uses FastAPI, integrates PostgreSQL, presents role-based access and JWT authentication. First portfolio project :D.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Users & Notes API is a backend REST API for managing users and notes. It is built with FastAPI and demonstrates authentication, role-based authorization, and relational database modeling.
The project focuses on implementing secure user management, ownership-based access control, and admin-level permissions.
is_done statusis_active statusThe application models a simple but secure user-note system:
User
βββ Notes
βββ Role (admin / user)
User β Notes
Role-based access
/auth/register β Create new user (public)/auth/login β Obtain JWT token (public)/users/me β Get current user (authenticated)/users/me β Update current user (authenticated)/notes/ β Create note (authenticated)/notes/ β Get user notes (authenticated)/notes/{id} β Get note by id (ownership required)/notes/{id} β Update note (ownership required)/notes/{id} β Delete note (ownership required)/admin/users β List all users (admin only)/admin/notes β List all notes (admin only)/admin/users/{id} β Delete user (admin only)git clone https://github.com/Adrode/fastapi_users_notes_api.git
cd users_notes_api
python -m venv env
source env/bin/activate
pip install -r requirements.txt
docker compose up -d
alembic upgrade head
uvicorn main:app --reload
API docs: http://127.0.0.1:8000/docs