this project was developed for an university exam.
A videogames-based social network
Source code available here
Documentation and screenshots
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
- Back-end framework:
Django
- Front-end framework:
Semantic UI
- Used libraries:
django-allauth
,pillow
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
andpython 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)
antoniopelusi@email.com passwordantonio
User accounts: (only for GamerAlley login)
marcobianchi@email.com passwordmarco annabianchi@email.com passwordanna valentinorossi@email.com passwordvale giorgiobruni@email.com passwordgiorgio michelagialli@email.com passwordmichela