/books-store

A Simple Web application to use flask python web framework.

Primary LanguagePython

Procedure

Make sure that the docker and docker-compose have installed in your machine. Then, run the following command:

docker-compose -f .mrt/.dev.yml up -d

books-store

This is a Flask+PostgreSQL example web application for deplying on Heroku., This appliation can add and retrieve book details Deployed project is, https://books-example.herokuapp.com/

Get all data

https://books-example.herokuapp.com/getall

Get by id

(for id=1)
https://books-example.herokuapp.com/get/1

Add a book

(for name=Twilight, author=Stephenie Meyer, published=2006)
https://books-example.herokuapp.com/add?name=Twilight&author=Stephenie Meyer&published=2006

Add through html form

https://books-example.herokuapp.com/add/form