HomeUniteUs
HomeUniteUs copied to clipboard
Initial Scaffold for FastAPI Implementation
- Parent Issue: #771
Overview
This issue involves creating the foundational scaffold for our FastAPI implementation. The primary goal is to establish a starting point for the migration, focusing on user authentication (sign-in/sign-up) and ensuring early integration with the client interface. The new API should be testable from the client once the basic setup is complete.
Action Items
- [x] Create a "trunk-type" branch named "fastapi-migration" branch in /api-v2 to manage the development of FastAPI migration.
- [x] Set up a new folder structure and add a basic scaffold for the FastAPI application.
- [x] Create updated readme
- [x] Implement basic authentication endpoints:
- [x] User Sign-In
- [ ] User Sign-Up
- [ ] Integrate the initial scaffold with the client to validate the API setup.
- [ ] Review the scaffold and implementation progress with the team.
Resources/Instructions
- Poetry: Use Poetry to manage dependencies for this FastAPI project.
- FastAPI Docs: Official Documentation for routing, dependency injection, and more.
- Authentication: Set up OAuth2 with JWT via FastAPI Security.
- Project Structure: Organize your app using Best Practices.
- Testing: Refer to Testing FastAPI for setting up automated tests.