Fork this repository and complete the following tasks:
- Create a simple flask app that renders atleast 2 HTML pages through 2 views in the views.py file. You may take help from the code used in last tutorial: (https://github.com/saumyakraj/tutorial3) (Have a look at the extra.txt file for some common commands)
- Setup PostgreSQL and create a table in a database, and experiment with different datatypes to be inserted and test it by inserting into it and then fetching back the data. (See extra.txt in the above repo link for an example)
- Create a model and corresponding views to fetch(GET) and insert(POST) into the table.
- https://youtu.be/lsMQRaeKNDk
- See https://github.com/saumyakraj/tutorial2 for reference
- Extend this readme in your repository, explaining how you completed the work in the various subtasks.
HOW I DID THIS?
SUBTASK 1: Created a flask app by watching the playlist and rendered 2 basic HTML files.
SUBTASK 2: Installed PostgreSQL in my pc and created a basic table and tried to fetch data from it.