FastAPI project template (jWT, MariaDB)
📰 Dev.to · VDev
Create a FastAPI project with JWT authentication and MariaDB database using a pre-built template
Action Steps
- Clone the FastAPI project template from GitHub using 'git clone https://github.com/phalconvietnam/FastAPI-project-template.git'
- Install required dependencies with 'pip install -r requirements.txt'
- Configure JWT authentication by setting 'JWT_SECRET_KEY' and 'JWT_ALGORITHM' environment variables
- Set up MariaDB database connection using 'SQLALCHEMY_DATABASE_URL' environment variable
- Run the application with 'uvicorn main:app --host 0.0.0.0 --port 8000'
Who Needs to Know This
Backend developers and DevOps engineers can use this template to quickly set up a secure FastAPI project with database integration
Key Insight
💡 Use a pre-built template to save time and ensure security best practices for your FastAPI project
Share This
🚀 Bootstrap your FastAPI project with JWT auth and MariaDB database using this template! https://github.com/phalconvietnam/FastAPI-project-template
Key Takeaways
Create a FastAPI project with JWT authentication and MariaDB database using a pre-built template
Full Article
Design sample refer to project fastapi https://github.com/phalconvietnam/FastAPI-project-template
DeepCamp AI