- Part of Udacity's Full Stack Web Developer Nanodegree
This is a web application of a music collection. You can login with Google Plus or Facebook. When you are authenticated you may add new artists to the collection. Each artist's 'creator' has the ability to edit, delete, or add albums to that artist's discography. You do not have the ability to perform CRUD operations on artists you did not create.
It's highly recommended that you use a VM to run this project -- that way any changes that you make won't affect your personal machine setup.
- Install Vagrant (http://vagrantup.com) and VirtualBox (http://www.virtualbox.org).
- Clone the fullstacknanodegreevm repository from Udacity's page on GitHub (https://github.com/udacity/fullstack-nanodegree-vm).
- Launch the Vagrant VM by typing
vagrant up
in the directory fullstack/vagrant from the terminal. - Sign into the VM by typing
vagrant ssh
in the directory fullstack/vagrant from the terminal. - To end the connection to the VM type
exit
. - To shut down the VM while still saving your work, type
vagrant halt
.
- Flask == 0.10.1
- Python == 2.7
- SQLAlchemy == 0.8.4
- HTTPLib2 == 0.9.2
- Oauth2client == 2.0.0
- Requests == 2.2.1
These are included in a separate file called "requirements.txt". Install using pip install -r requirements.txt
.
Clone the repo by typing git clone https://github.com/radiantMoxie/musicCollectionItemCatalog.git
into the terminal.
- Run database setup to establish the database (
python database_setup.py
) - If you'd like to populate the database with some artists and albums, run manyalbums. (
python manyalbums.py
)
- Run the application (
python application.py
). - Visit http://localhost:8000 locally on your browser. Enjoy!
This is a web application of a music collection. You can login with Google Plus or Facebook. When you are authenticated you may add new artists to the collection. Each artist's 'creator' has the ability to edit, delete, or add albums to that artist's discography. You do not have the ability to perform CRUD operations on artists you did not create.
This app was written with Python, SQLAlchemy, and Flask. There are JSON endpoints for artist and album information:
/artists/JSON: get info for all artists /artists/artist_id/albums/JSON: get info for all albums of a certain artist /artist/artist_id/albums/album_id/JSON: all info for a specific album
All images for the app are located in the 'static' folder. If you'd like to edit or add an image, please put it in this folder. When providing Image Location, be sure to root the location (example: '/static/Gwen.jpg').