/backend

Django REST backend

Primary LanguagePythonMIT LicenseMIT

Refu backend application

Installation

Running

  • Create local.env containing your these properties:

    • DATABASE_URL: Database connection string
    • SECRET_KEY: Session secret

    Example local.env file:

    SECRET_KEY=abcdefghij28731879
    DATABASE_URL=postgres://postgres@localhost/refu
    
  • Run python manage.py collectstatic

  • Run python manage.py migrate

  • On Windows: Run heroku local -e local.env -f Procfile.windows

  • On Unix: Run heroku local -e local.env

Future improvements

  • Rename SimpleOffer to distinguish between multiple types
  • Add proper account+authentication system