An application that provides a list of universities within a variety of courses as well as provide a user registration and authentication system. Registered users will have the ability to post, edit and delete their own items.
Install virtual machine
Install vagrant
Clone the fullstack-nanodegree-vm repository
Clone the university app and add it to the vagrant dir.
Launch the Vagrant VM from inside the vagrant folder with:
vagrant up
Then access the shell with:
vagrant ssh
Then move inside the universityapp directory:
cd /vagrant/UniversityApp
Then run the application(note, this uses python2):
python finalproject.py
After the last command you are able to browse the application at this URL:
http://localhost:5000/
Optional Steps-:
to run the finaldatabase_setup.py
python3 finaldatabase_setup.py
to populate the database
Clone the finallotsofcourses.py file then runpython3 finallotsofcourses.py
Mockups and routes decided.
finalproject.py created and routes added and tested.
All html added in /templates dir and necessary code added to finalproject.py and all html pages are tested.
finaldatabase_setup.py created and populated with finallotsofcourses.py.
Checked curriculum.db using sqlitebrowser.
All the functions for creating, reading, updating,deleting university and courses added. And then finalproject.py is tested with all the functionalities.
Then all the JSON routes were created and app was tested.
Then message flashing was added in finalproject.py and all html pages in /templates dir.
Css was added in the /static dir.
Oauth was integrated with the app and tested and necessary changes were made to the code.
how to develop a RESTful web application using the Python framework Flask along with implementing third-party OAuth authentication.
How to properly use the various HTTP methods available to you and how these methods relate to CRUD (create, read, update and delete) operations.
Efficiently interacting with data which is the backbone upon which performant web applications are built
Properly implementing authentication mechanisms and appropriately mapping HTTP methods to CRUD operations are core features of a properly secured web application
MIT ©2019 Muskan Kalsi