/fastapi_user_auth_demo

An example fastapi-user-auth application

Primary LanguagePython

FastAPI-User-Auth-Demo

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

Deployment

Install and run:

# install pdm
pip install --user pdm

# install dependencies
pdm install

# run server
pdm run run

Demo

You can check a online demo here.

  • admin user: admin----admin
  • vip user: vip----vip

Preview

  • Open http://127.0.0.1:8000/admin/ in your browser:

Login

  • Open http://127.0.0.1:8000/admin/ in your browser:

ModelAdmin

  • Open http://127.0.0.1:6699/admin/docs in your browser:

Docs