This WebSite provides a listing of Udacity Courses where registered users can add, edit, and delete. Developed to Full Stack Web Developer Nanodegree program.
- CRUD functions using SQLAlchemy and Flask.
- Authentication and authorisation user check.
- oAuth using Facebook Sign-in API.
- JSON endpoints.
.
├── application.py
├── fb_client_secrets.json
├── database_setup.py
├── fake_items.py
├── itemcatalog.db
├── README.md
├── static
│ └── milligram.min.css
│ └── style.css
└── templates
├── addCategoryItem.html
├── base.html
├── categories.html
├── category.html
├── categoryItem.html
├── deleteCategoryItem.html
├── editCategoryItem.html
└── login.html
- Follow all these instructions to prepare your the VM configuration.
- On your machine, open your prompt-DOS (for Windows) or terminal (for iOS).
- Access the Vagrant Virtual Machine configuration directory and then go to the 'vagrant/' sub-directory.
cd <Virtual Machine directory path>
cd vagrant/
- Now install the Ubuntu Operating System on your Virtual Machine
vagrant up
- After the above command suceeds, connect to your Virtual Machine_
vagrant ssh
- Install Flask
pip install Flask
- Clone or download this repository to the Virtual Machine shared repository located on your computer(<Virtual Machine directory\vagrant)
- Open the terminal, on your Virtual Machine connected and setup the database:
cd /vagrant/
python database_setup.py
- Insert the dummy user:
python fake_items.py
- Run the application:
python application.py
- Open
http://localhost:5000/
in your favourite Web browser, and you are ready to access the WebSite.
You can see the running version of this project here
The Facebook sign-in can't be completed as the API is connecting to a development environment.