A website for all your favourite 🎮 video games 🎮.
Start of project: 4 February 2019.
Initial push: 4 February 2019.
Sebastjan Leskovar | sebastjan.leskovar@gmail.com | github.com/SebastjanLeskovar
Link to repository: https://github.com/SebastjanLeskovar/thundergames
Link to website: thundergames.pythonanywhere.com
As of version V4.5, the following prerequisites are necessary to run this website:
- Python 3.7
- Django 2.1.5
- Pillow 5.4.1
- Django Registration 3.0
- Django REST Framework 3.9.1
Previous versions of listed software has not been tested.
Please check the file requirements.txt a full list of prerequisites.
-
Open the app repository at github.com/SebastjanLeskovar/thundergames.
-
Save the file 'thundergames-master.zip' to your PC by clicking the green button Clone or download and then Download ZIP.
-
Extract the files.
You can now inspect the source code.
-
Use the Command Prompt to navigate to the root of the unziped folder (e.g., cd \thundergames-master).
-
Install all the required prerequisites from requirements.txt with the following command:
pip install -r requirements.txt
Using virtual environment is advised.
- Start the Django built-in server with:
python manage.py runserver
- You will receive an error message saying "You have 16 unapplied migration(s)." Do not worry, you can easily apply the migrations with the following command:
python manage.py migrate
You can now safely start the app again with python manage.py runserver
.
Please note an internet connection is required to load CSS, JavaScript, jQuery and Popper (CDN). Without a connection, the website will work without any formatting.
-
After starting the website, open your web browser.
-
Visit the following address: http://127.0.0.1:8000/.
This website lists games, main genres and subgenres. Users are able to add their own items and edit and delete them.
The Main menu contains four buttons:
- Home (links to homepage)
- Games (opens a list of all games)
- Main genres (opens a list of all main genres)
- Subgenres (opens a list of all subgenres)
On each of these lists, the items can be opened. All items are also listed on the homepage.
After the visitor creates an account, two more buttons will become visible: API and Contacts.
Anonymous users can check the site's contents, but cannot add, edit or delete them. To do that, please register and login with your account. User authentication is also mandatory to access API endpoints.
Details how to access API endpoints is listed on link thundergames.pythonanywhere.com/api/.
- Import main genres and subgenres from one of official lists.
- API (GET endpoints).
- User authentication (register and login forms).
- Ability to add images.
- Bootstrap.
- Ability for the user to add, edit and delete his or her own items.
- Working version to be deployed to pythonanywhere.com.
- Database containing main genre, subgenre and game fields.
- Completed draft of README.md.
Date spoted:
Level:
Description:
Explanation:
Sebastjan Leskovar | sebastjan.leskovar@gmail.com | github.com/SebastjanLeskovar
This project is licensed under the MIT License - see the LICENSE file for more details.