Skip to content

ignacio-alvarado/fastapi-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FastAPI Template

Template for creating a FastAPI API, includes:

  • OAuth2 with password and Bearer JWT Tokens (registration, login, token refresh)
  • User activation with email
  • Secure password hashing with bcrypt
  • User authorization with role-based access control
  • MongoDB database integration with async support
  • Environment-based configuration
  • Request/Response and error logging
  • Pydantic models for data validation
  • Dockerized setup

Docker Execution

Docker Compose

docker compose build
docker compose up

API Documentation

http://localhost:8000/docs#/

Contributing

There are several ways to contribute to this project:

  1. Create issues to report bugs or suggest new features
  2. Submit pull requests with code improvements or new features
  3. Share feedback and suggestions

Please make sure to:

  • Check existing issues before creating new ones
  • Follow the code style guidelines

Your contributions are greatly appreciated!

Contact

ignacio.alvaradome@gmail.com

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages