This is the second project of Part 3, Core Curriculum, Full Stack Web Developer Nanodegree Program.
This web application is live on GameZone.
This project demonstrates my skills in developing a REST API server for a Flask web application.
The project is re-configured to be served from a Linux Ubuntu 16.04 Apache2 server, with a Postgresql database.
This project titled GameZone displays games for certain pre-defined categories to a user. If the user is logged in, he/she can create new game data and edit their own data if needed. The app also has a user who acts as an admin with full access to perform CRUD operations on the database for improvement.
NOTE: 1. Download the fullstack-nanodegree-vm from here and install the VM before proceeding further. 2. Install postgresql. For instructions on how to install postgresql look here.
-
To run this project in VM environment, clone it with
git clone <URL>
. -
Run your vagrant machine with
vagrant up
and thenvagrant ssh
. -
Once done, open the project in your favorite IDE and install the dependencies mentioned in requirements.txt using
sudo pip install <module>
in your vagrant environment. -
cd into the project directory.
-
Create the database with
python database_setup.py
-
Populate the database with categories and admin user by
python categories.py
andpython demo_user.py
. -
To run the application in your local environment, the command is
python run.py
. -
Once the server is up and running go to
http://localhost:8000
from your browser to view the app.
The content of this repository is licensed under MIT.