Skip to content

fampay-inc/bran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bran

A django app

setup

poetry install # install deps
cd backend # project dir
python manage.py migrate # run db migrations 
python manage.py runserver # run local server
  • On app start it loads .env file into os env variables for the configuration, optionally it works with os variables supplied to process too.
  • By default it uses sqlite db, you can provide valid URL schema to use postgres/mysql
  • http://127.0.0.1:8000/bran/* will return list users stored in db
  • http://127.0.0.1:8000/metrics - returns app metrics

About

SRE: Assignment - django app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages