Skip to content

social distance is a course project for University of Alberta CMPUT 404. This is the backend of the project, written in Python with Django REST Framework.

License

Notifications You must be signed in to change notification settings

CMPUT404Fall2021-6803d618/social.distance

 
 

Repository files navigation

social.distance

Overview

social.distance is a project forked from CMPUT404-project-socialdistribution. It is a course project for University of Alberta's CMPUT 404 course, Fall 2021.

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

CMPUT404F21T01 Members:

Format: Name (github id, ccid)

Deploying API

Heroku project at https://social-distance-api.herokuapp.com/ will update when master is updated by a merge or direct push.

Front End Repository

You can find the front end repository for this project by going to our organization page, or you can click here to redirect.

The frontend Heroku deployment is at https://social-distance-web.herokuapp.com/

Development Setup

  1. Create .env at the project root. In the file, put
SECRET_KEY=a_very_long_bunch_of_chars
DEBUG=True

# belows are optional
# for format of database url, see https://github.com/jacobian/dj-database-url#url-schema
DATABASE_URL=sqlite:///db.sqlite3
EXTRA_ALLOWED_HOST=["0.0.0.0", "localhost", "whatever_domain_you_are_hosting_the_app"]
# allow react CORS? not tested
EXTRA_ALLOWED_ORIGINS=["http://localhost:8080"]

make sure the SECRET_KEY value is different than the example.

You can generate a SECRET_KEY here

  1. Activate virtualenv.

  2. pip install -r requirements.txt

Contributing

Send a pull request and be sure to update this file with your name.

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:

Lucas Zeng
Ze Hui Peng
Sang Le
Khang Vuong
Quoc Trung Tran
Karim Baaba
Ali Sajedi
Kyle Richelhoff
Chris Pavlicek
Derek Dowling
Olexiy Berjanskii
Erin Torbiak
Abram Hindle
Braedy Kuzma
Nhan Nguyen 

About

social distance is a course project for University of Alberta CMPUT 404. This is the backend of the project, written in Python with Django REST Framework.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • Python 99.6%
  • Shell 0.4%