I decided to challenge myself a little more than what the project rubric called for. I created a web application designed to keep track of sports leagues. On the public side, you can view leagues, teams, upcoming games and scores. If you log in you can create leagues and become the administrator for that league. With these privileges, an administrator can create/read/update/delete (CRUD) leagues, teams, games and final scores.
/leagues/json
- Contains information about all leagues including teams and games/leagues/<league_id>/json
- Contains information about a specific league including teams and games/leagues/<league_id>/<team_id>/json
- Contains information about a team including games
- Python 3
- Vagrant
- VirtualBox
- Udacity Virtual Machine
- python-slugify ** Must be installed in the VM **
- Install Vagrant and VirtualBox
- Clone the Udacity Vagrant VM repository
- Clone this repository and copy its contents to the
/vagrant/catalog
directory in the Udacity Vagrant Virtual Machine - Open terminal and change the directory to the folder containing the Virtual Machine
- Start up the virtual machine
vagrant up
- Log in to the virtual machine
vagrant ssh
- Install python-slugify
sudo pip3 install python-slugify
- Change to project directory
cd /vagrant/catalog
- Run the database seeder
python3 database_seed.py
- Run the project
python3 views.py