Basic SignIn / SignUp Auth with Flutter & FastAPI.
Using JWT that generated from FastAPI, to be stored in-device in Flutter app, and to get user account datas.
- Flutter : for client app
- Provider : for state management system
- Shared-Preferences : for device local data storing
- FastAPI : for server app
- SQLite : simple database using
- OAuth2 : security protocol
Go to server folder :
cd server
Install all necessary pip package :
pip install -r requirements.txt
Run the server with :
python main.py
NOTE : Since the backend server is written in FastAPI, it comes with built-in OpenAPI documentation page, generate by Swagger,
which contains all informations about all available routes.
After running backend app, from browser go to : localhost:8000/docs
Go to client folder :
cd client_app
Run the app with this below command, or from editor
flutter run
- Sign-Up page screen
- Sign-In page screen
- Home page screen (after auth)


