Skip to content

roshanraj/flask-api-seed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Flask for blazing fast Rest API development

Directory structure

.
|
├── utils
├── handlers
|   └──  todo.py
├── models
|   └──  todo.py
└── main.py
  • main.py - holds route and flask application initialization.
  • handlers - This directory holds handlers for different routes.
  • models - holds different data models.

Quick Start

  • python main.py
  • server will start on port 5000

Two routes defined in the sample

/todo

metod (Post)

Alt text

metod (get)

Alt text

/todo/

metod (Get)

Alt text

metod (Put)

Alt text

About

Starter for flask based Rest api

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages