/GamerAlley

A videogames-based social network written in Django

Primary LanguageHTMLGNU General Public License v3.0GPL-3.0

gamerAlley 🎮

A videogames-based social network

Specification


Full documentation about functionality and screenshots available on the file Gameralley.pdf in this repository


Features:

  • Profile

    • Create account
    • Login
    • Logout
    • Update info
  • Post

    • Create post
    • Edit post
    • Delete post
    • Upvote
    • Add image
    • Add genre tag
    • Write comments
  • Genre tags

    • Search for a videogames genre or click on the tag in a post
  • Relationship

    • Send friend request
    • Accept friend request
    • Remove friend

Additional info


Installation

  • Clone this repository with git clone https://github.com/antoniopelusi/GamerAlley.git
  • Move to the GamerAlley/GamerAlley directory inside the project
  • Create the virtual environment and install all the libraries with pipenv install django pillow django-allauth
  • To activate this project's virtualenv run pipenv shell
  • Set up the database with python manage.py makemigrations and python manage.py migrate (there is already a database with some profile, posts, comments and relationships to test the website)
  • Run the server with python manage.py runserver

Testing

In the GamerAlley/GamerAlley folder

Test the profiles app: python manage.py test profiles/tests

Test the posts app: python manage.py test posts/tests


Login in the website (Preloaded accounts on the database, only for testing purposes):

email | password to login in GamerAlley

Admin account: (can enter in the Django admin/ page)

User accounts: (only for GamerAlley login)