corgicode / django-api

REST Api using the Django framework

Home Page:https://rest.codecorgi.co

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DjangoAPI for codecorgi.co

Waffle.io - Issues in progress

CircleCI

Requirements

Using Docker

Install docker and docker-compose and run the command

docker-compose up

This will start the containers and link them

Launching locally:

Install postgres and run it.

Create a virtual environment using python3, like:

mkvirtualenv corgi -p /usr/local/bin/python3.6

Add the following env variables, with the correct values.

export DJANGO_SECRET_KEY=
export DJANGO_DEBUG=
export DB_POSTGRES_DATABASE_NAME=corgi_development
export DB_POSTGRES_USERNAME=
export DB_POSTGRES_PASSWORD=
export DB_POSTGRES_HOSTNAME=localhost
export DB_POSTGRES_PORT=5432

export API_SERVICES_URL=http://localhost:8000/services/api/
export FRONTEND_APP_URL=http://localhost:3000/

About

REST Api using the Django framework

https://rest.codecorgi.co

License:Apache License 2.0


Languages

Language:Python 99.2%Language:Shell 0.4%Language:Dockerfile 0.4%