GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - esfoobar/pets-api: The "Professional RESTful API Design using Python Flask" course

BranchesTags
Open more actions menu

Latest commit

 

History

64 Commits
64 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
curriculum
curriculum
 
 
home
home
 
 
pet
pet
 
 
store
store
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
README.md
README.md
 
 
application.py
application.py
 
 
docker-compose.yml
docker-compose.yml
 
 
manage.py
manage.py
 
 
requirements.txt
requirements.txt
 
 
settings.py.bak
settings.py.bak
 
 
tests.py
tests.py
 
 

Repository files navigation

Running the application

  • Checkout code on /opt/pets-api on local computer
  • Build the containers: docker-compose build
  • Copy settings.py.bak to settings.py and add 'mongodb' as MONGODB_HOST
  • Start mongodb separately: docker-compose up -d db
  • Start the app: docker-compose up web
  • To start the application with pdb enabled: docker-compose run --service-ports web

To access mongodb

  • Find the docker web container name and run: docker exec -it petsapi_db_1 mongo

To run tests

  • Find the docker web container name and run: docker exec -it petsapi_web_1 python tests.py

About

The "Professional RESTful API Design using Python Flask" course

Resources

Readme
Activity

Stars

6 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.