https://github.com/amisadmin/fastapi-user-auth-demo
An example fastapi-user-auth application
https://github.com/amisadmin/fastapi-user-auth-demo
fastapi-amis-admin fastapi-auth fastapi-user fastapi-user-auth
Last synced: 11 months ago
JSON representation
An example fastapi-user-auth application
- Host: GitHub
- URL: https://github.com/amisadmin/fastapi-user-auth-demo
- Owner: amisadmin
- Created: 2022-03-20T15:19:18.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-12-22T04:11:53.000Z (over 2 years ago)
- Last Synced: 2025-06-15T23:04:41.887Z (12 months ago)
- Topics: fastapi-amis-admin, fastapi-auth, fastapi-user, fastapi-user-auth
- Language: Python
- Homepage:
- Size: 316 KB
- Stars: 25
- Watchers: 1
- Forks: 13
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# FastAPI-User-Auth-Demo
- [`FastAPI-Amis-Admin-Demo`](https://github.com/amisadmin/fastapi_amis_admin_demo): An example `FastAPI-Amis-Admin` application.
- [`FastAPI-User-Auth-Demo`](https://github.com/amisadmin/fastapi_user_auth_demo): An example `FastAPI-User-Auth` application.
## Development
### Install command line extension
`pip install fastapi_amis_admin[cli]`
### How to start
1. create your app using `faa new app_name` .
2. writing your apps under `fastapi_user_auth_demo/backend/apps` folder.
3. run your server using `faa run` .
### Documentation
See [Docs](https://docs.amis.work/)
## Deployment
### Install and run:
```shell
# install pdm
pip install --user pdm
# install dependencies
pdm install
# run server
pdm run run
```
## Demo
You can check a online demo [here](http://user-auth.demo.amis.work/).
- admin user: admin----admin
- vip user: vip----vip
### Preview
- Open `http://127.0.0.1:8000/admin/` in your browser:

- Open `http://127.0.0.1:8000/admin/` in your browser:

- Open `http://127.0.0.1:6699/admin/docs` in your browser:
