Skip to content

Belax8/ft-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fitness Tracker API

Circle CI Badge

This project was built to show how to use Django Rest Framework Signature and Django Rest Framework Simplify.

Setup

Setup Postgres

create user ft with password 'test1234' CREATEDB;
create database fitness_tracker_local with owner ft;

Setup Python Environment

virtualenv ~/env/ft-api-env --python=python3
vi ~/.bashrc
alias ftapi='source ~/env/ft-api-env/bin/activate; cd ~/ft-api'
source ~/.bashrc
ftapi
pip install -r requirements.txt

If you get an egg_info error

sudo apt-get install libmysqlclient-dev

Server

python manage.py runserver

Tests

python manage.py test

Releases

No releases published

Packages

No packages published

Languages