amisadmin / fastapi_user_auth_demo

An example fastapi-user-auth application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An example fastapi-user-auth application


Languages

Language:Python 96.1%Language:Shell 2.4%Language:Dockerfile 1.6%