A simple web application that provides list of free web themes within a variety of categories and tags. Authenticated users have the ability to post, edit, and delete their own items.
This is the fourth project for the Udacity Full Stack Nanodegree. This project allows users to perform Create, Read, Update, and Delete operations. Logging in is not required in order to read the categories or items uploaded. But, users need to log in to access CRUD operations such as adding, editing and removing items. This program uses third-party auth with Facebook.
Some of the technologies used to build this application include Flask, Bootsrap, Jinja2, and SQLite. Please see the screenshots section.
Please note that:
- The Demo doesn't have authentication features.
- In order to see demo pages, you need to run the project.
Endpoint | URL |
---|---|
Themes | /api/v1/themes |
Categories | /api/v1/categories |
Tags | /api/v1/tags |
License Types | /api/v1/license-types |
Theme Authors | /api/v1/theme-authors |
Users | /api/v1/users |
- Python 3 - The code uses ver 3.7.3
- VirtualBox - An open source virtualiztion product. (Optional)
- Vagrant - A virtual environment builder and manager (Optional)
You can run the project whether installing and using vagrant which is optional or you can install requirements.txt and run the project in your local computer. In both ways the database file and the demo content is not shipped with the repository. Once the project runs, the database and the /static/uploads folder will be created automatically.
- If you don't already have the latest version of python download it from the link in requirements.
- Download and install Vagrant and VirtualBox.
- Clone this repository.
- Navigate to the
theme-catalog
folder in your bash interface. - Open bash terminal and launch the virtual machine with command
vagrant up
. At first time normally it takes about 10-15 minutes to build vagrant. Please be patient. - Once Vagrant installs necessary files use
vagrant ssh
to continue. - If your command prompt does not start with vagrant after typing
vagrant ssh
then please try thewinpty vagrant ssh
on your Windows system. - The command line will now start with vagrant. Here get into to the shared /vagrant folder by command
cd /vagrant
. - Rename
config.py.example
file toconfig.py
. - Open
config.py
file. Set Facebook Api credentials and change any settings depending on your needs. - Run
python3 manage.py runserver
. - Open
localhost:5000
in your web browser.
- If you don't already have the latest version of python download it from the link in requirements.
- Clone this repository.
- Navigate to the
theme-catalog
folder in your bash interface. - Open bash terminal and install requirements with command
pip install -r requirements.txt
- Rename
config.py.example
file toconfig.py
. - Open
config.py
file. Set Facebook Api credentials and change any settings depending on your needs. - Run
python manage.py runserver
. - Open
localhost:5000
in your web browser.
First, let us take this opportunity to thank all the creative minds for their great products and hard work.
Name | License |
---|---|
jQuery | LICENSE |
Bootstrap | LICENSE |
Tabler UI | LICENSE |
Easing | LICENSE |
EasyMDE | LICENSE |
Font Awesome 4.7.0 | LICENSE |
Feather | LICENSE |
GDPR Cookie | LICENSE |
Selectize | LICENSE |
Waypoints | LICENSE |
- Google Fonts: http://www.google.com/fonts
- Startbootstrap: https://startbootstrap.com
- 0.0.1 - Initial Release
Licensed under MIT License.