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 - kravivar/python-flask-full-stack: Full stack python example

BranchesTags
Open more actions menu

Latest commit

 

History

53 Commits
53 Commits

Folders and files

NameName
Last commit message
Last commit date
app
app
 
 
scripts
scripts
 
 
.bowerrc
.bowerrc
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
TODO.md
TODO.md
 
 
config.py
config.py
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 
requirements.txt
requirements.txt
 
 
run.py
run.py
 
 
stage-docker-compose.yml
stage-docker-compose.yml
 
 

Repository files navigation

python-flask-full-stack

Full stack python example

Pre-requesites

  • git
  • docker toolbox

Getting started

  • Clone the repository git clone https://github.com/kravivar/python-flask-full-stack.git
  • Run docker-compose to bring the stack up
Running stack with sqllite DB

# cd python-flask-full-stack
# docker-compose up

Running stack with mysql database

# cd python-flask-full-stack
# docker-compose -f stage-docker-compose.yml up

Example API calls

  • GET - curl http://localhost/api/dev/
  • GET with id - curl http://localhost/api/dev/?id=1
  • POST - curl -X POST -H 'Content-Type: application/json' -d '{"name":"kripa","focus":"scientist"}' http://localhost/api/dev/
  • DELETE - curl -X DELETE http://localhost/api/dev/?id=15

References

API

  • http://www.bradcypert.com/writing-a-restful-api-in-flask-sqlalchemy/

UI

  • https://github.com/puikinsh/gentelella

About

Full stack python example

Topics

apiapi-documentationflaskflask-restxfull-stackfullstackpythonpython-flaskpython-swaggerswagger

Resources

Readme
MIT license
Activity

Stars

4 stars

Watchers

2 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — 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.