Skip to content

404-SpongeBob-SquarePants/CMPUT404-project-socialdistribution

Β 
Β 

Repository files navigation

CMPUT404-project-socialdistribution

Build Status License

CMPUT404-project-socialdistribution

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

Make a distributed social network!

Getting Started

The following instructions will get you a copy of this project and you can run the project on your local machine.

Prerequisites

You need to install the following software:

  • Node - v12.16.1

  • npm - 6.13.4

  • Python - 3.6.8

Clone

  • Clone this repo to your local machine using git clone https://github.com/404-SpongeBob-SquarePants/CMPUT404-project-socialdistribution.git

Structure

.
β”œβ”€β”€ comment                 # Backend app
β”œβ”€β”€ friend                  # Backend app  
β”œβ”€β”€ mysite                  # Backend app 
β”œβ”€β”€ node                    # Backend app 
β”œβ”€β”€ post                    # Backend app
β”œβ”€β”€ public                  # Frontend resource
β”œβ”€β”€ src                     # Frontend source code
β”œβ”€β”€ user                    # Backend app
β”œβ”€β”€ manage.py               # Backend Django entry
β”œβ”€β”€ package.json            # Node package
β”œβ”€β”€ Procfile                # Heroku config
β”œβ”€β”€ requirements.txt        # Python Package
β”œβ”€β”€ runtime.txt             # Python version
β”œβ”€β”€ LICENSE                 
└── README.md               

Setup

Install the package for frontend

$ npm install 

Install the package for backend

$ pip install -r requirements.txt
$ python manage.py migrate

Run

Run frontend

$ npm start

Run backend

$ python manage.py runserver

Running the tests

$ npm test
$ python manage.py test

Documentation

  • Backend APIs: the documentation of our backend APIs are located at the Wiki page

Contributors / Licensing

Generally everything is LICENSE'D under the Apache 2 license by Abram Hindle.

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

Contributors:

  • Devin Dai

  • Isaac Zhang

  • Qiaoyan Zhang

  • Yuan Wang

  • Zhonghao Lu

Acknowledgments

https://github.com/404-SpongeBob-SquarePants/CMPUT404-project-socialdistribution/wiki/Acknowledgments

Demo Video

https://www.youtube.com/watch?v=jtxW7VnxjQ8

Releases

No releases published

Packages

No packages published

Languages

  • Python 49.5%
  • JavaScript 47.7%
  • CSS 2.1%
  • HTML 0.7%