Fastapi Boilerplate

screenshot of Fastapi Boilerplate

fastAPI boilerplate for API based access along with user management

Overview

FastAPI Boilerplate is a project template built using the FastAPI framework. It provides a set of helpful features for developing API-based applications including API key authentication, role-based access control, user management, email verification, and integration with MongoDB. The boilerplate is available in Python 3.7+ and requires UVLoop and re2 as additional libraries.

Features

  • API Key Authentication: Every endpoint in the FastAPI Boilerplate can only be accessed by providing a valid API key.
  • Role-Based Access Control: API keys in the FastAPI Boilerplate have assigned roles that determine which endpoints they can access.
  • Multiple Endpoint Project: The FastAPI Boilerplate provides a structure for building projects with multiple API endpoints.
  • User Management: The boilerplate includes functionality to create new users, disable users, and verify email accounts for API access.
  • Connects to MongoDB: The FastAPI Boilerplate integrates with MongoDB to store user information and other data.

Summary

FastAPI Boilerplate is a project template built using the FastAPI framework. It provides several key features such as API key authentication, role-based access control, user management, and integration with MongoDB. The boilerplate is easy to set up and provides a solid foundation for building API-based applications.