Skip to content

utilmeta/utilmeta-py-realworld-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realworld Example - UtilMeta

drawing UtilMeta | Progressive meta framework for API development in Python

Installation

pip install -r requirements

Env Vars

file in conduit/config/env.py shows the env var required for this project

  • CONDUIT_PRODUCTION: optional, whether if this project is in production mode
  • CONDUIT_JWT_sECRET_KEY: required, configure the JWT secret key for this project
  • CONDUIT_DJANGO_SECRET_KEY: optional, configure Django secret key for this project

Before you run the server, please configure these env vars

Database Migration

Migrate database before run the server

cd conduit
meta migrate

Run

cd conduit
meta run -d

or

cd conduit
python main.py

OpenAPI Docs

When the server is running, view http://127.0.0.1:8000/api/ops/openapi to get the OpenAPI json docs of this project auto generated by UtilMeta

Tutorials

There is a tutorial to build this project step by step, you can find it in

About

Realworld example demo app backend by UtilMeta Python framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages