Skip to content

Project created throughout the "Developing RESTful APIs with Python and Flask" article.

License

Notifications You must be signed in to change notification settings

gilbertekalea/flask-restful-apis

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Developing RESTful APIs with Python and Flask

This repository contains code created throughout the "Developing RESTful APIs with Python and Flask" article.

Check it out for more info!

Running the API

To run this application, you will need Python 3+ and Pipenv installed locally. If you have then, you can issue the following commands:

# from the flask-restful-apis directory
pipenv install
./bootstrap.sh 

Then you can issue requests to your API. For example, with curl, you can issue requests like that:

# inserting a new income
curl -X POST -H "Content-Type: application/json" -d '{
    "amount": 300.0,
    "description": "loan payment"
}' http://localhost:5000/incomes

# listing all incomes
curl http://localhost:5000/incomes

About

Project created throughout the "Developing RESTful APIs with Python and Flask" article.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.4%
  • Dockerfile 11.5%
  • Shell 3.1%