Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manojpatra1991/gamezone
A Python Flask based web application demonstrating back-end design skills
https://github.com/manojpatra1991/gamezone
flask flask-blueprints flask-sqlalchemy jinja2-templates postgresql python
Last synced: 11 days ago
JSON representation
A Python Flask based web application demonstrating back-end design skills
- Host: GitHub
- URL: https://github.com/manojpatra1991/gamezone
- Owner: MANOJPATRA1991
- Created: 2017-07-31T15:21:49.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T23:59:40.000Z (about 2 years ago)
- Last Synced: 2024-11-06T00:31:50.561Z (about 2 months ago)
- Topics: flask, flask-blueprints, flask-sqlalchemy, jinja2-templates, postgresql, python
- Language: HTML
- Homepage: https://gamezonev2.herokuapp.com/
- Size: 10.3 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Item Catalog Project
This is the second project of Part 3, Core Curriculum, [Full Stack Web Developer Nanodegree Program](https://in.udacity.com/course/full-stack-web-developer-nanodegree--nd004/).
This web application is live on [GameZone](https://gamezonev2.herokuapp.com/).
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.
## Table of Contents
1. [Description](#description)
2. [Installation and Test Requirements](#installation-and-test-requirements)
3. [References](#references)
4. [License](#license)
### DescriptionThis 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.
### Installation and Test RequirementsNOTE: 1. Download the fullstack-nanodegree-vm from [here](https://github.com/udacity/fullstack-nanodegree-vm) and install the VM before proceeding further.
2. Install postgresql. For instructions on how to install postgresql look [here](https://github.com/MANOJPATRA1991/Linux-Server-Configuration#install-postgresql).
#### Set up the project for testing:
1. To run this project in VM environment, clone it with `git clone `.
2. Run your vagrant machine with `vagrant up` and then `vagrant ssh`.
3. Once done, open the project in your favorite IDE and install the dependencies mentioned in **requirements.txt** using `sudo pip install ` in your vagrant environment.
4. **cd** into the project directory.
5. Create the database with `python database_setup.py`
6. Populate the database with categories and admin user by `python categories.py` and `python demo_user.py`.
7. To run the application in your local environment, the command is `python run.py`.
8. Once the server is up and running go to `http://localhost:8000` from your browser to view the app.### References
1. [Python Documentation](https://docs.python.org/3/)
2. [Google Python Style Guide](https://google.github.io/styleguide/pyguide.html)
3. [PEP8](https://www.python.org/dev/peps/pep-0008/)
4. [Flask](http://flask.pocoo.org/)
5. [SQLAlchemy](https://www.sqlalchemy.org/)### License
The content of this repository is licensed under [MIT](https://choosealicense.com/licenses/mit/).