Skip to content

kurianvijay/sportsmatch_api

This branch is 8 commits ahead of, 198 commits behind jessmar94/sportsmatch_api:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Vijay Kurian
Nov 28, 2019
eea9c09 · Nov 28, 2019

History

80 Commits
Nov 28, 2019
Nov 28, 2019
Nov 27, 2019
Nov 27, 2019
Nov 28, 2019
Nov 27, 2019
Nov 27, 2019
Nov 28, 2019
Nov 28, 2019
Nov 28, 2019
Nov 27, 2019
Nov 26, 2019
Nov 28, 2019
Nov 28, 2019
Nov 28, 2019

Repository files navigation

SportsMatch API (backend)

Installation guide

First clone this repository. Then install pipenv:

$ brew install pipenv
$ cd path/to/directory
$ pipenv --three

Then enter the virtual environment:

$ pipenv shell
$ pipenv install

Create a .env file in the home directory and add the following:

export FLASK_ENV=development
export FLASK_ENV_TEST=test
export DATABASE_URL="postgres://localhost/sportsmatch_api_db"
export JWT_SECRET_KEY=[ADD_SECRET_KEY_HERE]
export TEST_DATABASE_URL="postgres://localhost/sportsmatch_api_test_db"

Run database migrations:

$ python manage.py db upgrade
$ python manage_test.py db upgrade

Run the app:

$ python run.py

User Stories

[Add here]

Technologies used

  • Python
  • Pylint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.4%
  • Mako 1.2%
  • Other 0.4%