Skip to content

C404TEAMW21/CMPUT404_PROJECT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CMPUT404_PROJECT

CMPUT404-project-socialdistribution

CMPUT404-project-socialdistribution

See project.org (plain-text/org-mode) for a description of the project.

Video Demo: https://www.youtube.com/watch?v=9CfSqHFpERs

Running the Program Locally

Konnection has two components, a client and a server.

Running the Server

⚠️ Note: Make sure to have python3 and postgreSQL installed. Reference to Please refer to our konnection101 to learn more about installing and setting up the database. Go into a terminal window in the root directory of this repository and run

python3 -m venv venv
source venv/bin/activate
cd server
pip install -r requirements.txt
python3 manage.py runserver --settings konnection.settings.local

Please contact any of the project member to get the .env file

Running the Client

⚠️ Note: Make sure you have npm installed. If server is not running, the webpage will throw an error. Go into a terminal window in the root directory of this repository and run

cd client
npm install
npm run dev
  • For more information about the frontend including references, and client startup, please see our README.
  • Please contact any of the project member to get the .env file for the client.
  • AJAX Documentation is found here.

Running the Test Locally

⚠️ Note: Make sure to have python3 and postgreSQL installed. Reference to Please refer to our konnection101 to learn more about installing and setting up the database. Go into a terminal window in the root directory of this repository and run

python3 -m venv venv
source venv/bin/activate
cd server
pip install -r requirements.txt
python3 manage.py test --settings konnection.settings.local

Need More Helpful Commands?

Please refer to our konnection101 if you need more info with how to set up the database, installing backend command, etc.

Frontend and Backend Host

For more infromation about deployment, refer to Deployment Strategy

Repo Contributors

Team Members:

Kean Weng Yap
Monica Bui
Ian Seng Wok
Amy Xiang
Hailan Xu

Project Creation Contributors / Licensing

LICENSE, README.md and project.org files are inherited Professor Abram Hindle's repo.

All text is licensed under the CC-BY-SA 4.0 http://creativecommons.org/licenses/by-sa/4.0/deed.en_US

Contributors:

Karim Baaba
Ali Sajedi
Kyle Richelhoff
Chris Pavlicek
Derek Dowling
Olexiy Berjanskii
Erin Torbiak
Abram Hindle
Braedy Kuzma

References

Frontend related references will be found in the client folder README

Connecting PostgreSQL to Django

Adding secrets to env file

Adding PostgreSQL to GitHub Actions Job

UUID Django Model Field Type

Choices Django Model Field Option

Django Settings

AssertRegex

CORS

Django Restframework

Fix Django Authenticate Token issue

Django Restframework Generic Views

Concrete View Classes

Get Object of 404

PUT Partial Updates using Generics

Serializers Partial Updates

Put as Create

Django Update user profile

Get User Info in Serializer

Serializer Method Field

Serialize Model Instance

Paginate Nested Object

Django Anti-Patterns: Signals

Follower

Aceess Many to Many object

Unique Together

Deploying Django to Heroku: Connecting Heroku Postgres

How to Structure the Django Settings for Different Environments

Heroku - Django app

How to Deploy Your React App to Heroku

How to Deploy Your React App to Heroku

Deploy to Heroku

Python Requests Library

Mock HTTP Testing

Django Restframework Status Code

Python Intersection of Two Dictionary

Filter Dictionary

Mock HTTP Testing

About

Peer to Peer Social Media Connection Webapp

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published