Skip to content
This repository was archived by the owner on Jun 4, 2020. It is now read-only.

SheCodesAus/plus-perth-2019-floaty-potato-api

Repository files navigation

HAVE FUN!

Floaty - potato - frontend

Let make this API amazing folks!

Git Rules

When everyone is working, everyone is working on branches. Not the MASTER. When you finish work and request pull request into master. Pull request needs to be reviewed by a team member. It will be approved by a team member. Once it is approved, it will be merged into master.

RULES

Noone is allowed to push directly into master.

Noone is working on the master.

3 Branches (Feature, Development and Master) Work in Feature and push to Development once approved. Confirm Development is working and Push to Master once approved.When everyone is working, everyone is working on branches. Not the MASTER.

When you finish work and request pull request into master.

Pull request needs to be reviewed by a team member.

It will be approved by a team member.

Once it is approved, it will be merged into master.

Getting started and what you need to do after pulling

TO GET STARTED: CREATE VIRTUAL ENVIRONMENT AND ACTIVATE IT

virtualenv env
source env/bin/activate

INSTALL REQURIEMENTS

pip install -r requirements.txt

or

pipenv install
pipenv shell

UNCOMMENT OUT DATABASE IN SETTINGS.PY TO RUN SQLITE

MIGRATE DATABASE

./manage.py migrate

CREATE SUPERUSER

./manage.py createsuperuser

LOAD DATA FIXTURES

./manage.py loaddata movies.json

RUN THE SERVER

./manage.py runserver

You can then see an example of the API endpoints at: localhost:8000/api/movies/ localhost:8000/api/providers/ localhost:8000/api/genres/ localhost:8000/api/classifications/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors