Group project for the 404, team EarlyBirds
Website URL: https://cmput404-group-project-mandala.herokuapp.com/
This project is now archived. It was for a university assignment and while a worthwhile exercise has little continuing value.
Endpoint Documentation
Front End Documentation
UI Storyboard
The following command will create a copy of your database and dump it into a file for others to load
python manage.py dumpdata --indent 2 --format yaml > test_data.yaml
The following command will load the file created in the above command into your database
python manage.py loaddata test_data.yaml
python3 manage.py test friendship.tests.TestFriendshipModels
python3 manage.py test comments.test_comment_models
python3 manage.py test users.tests.TestAuthorModels
python3 manage.py test posts.test_posts_models
post.html, editPost.html, profile.html, home.html
In editPost.html fetch is used to send the form data to edit the current post and on success returns to homepage and on failure, alerts the user.
In post.html jquery and ajax is used to send any images to our image proxy endpoint and replace the image source with the base64 of that image.
In profile.html axios is used to retrieve a users info, friends and github activity
In home.html axios is used to retrieve the list of local and foreign post