Skip to content

olawalejarvis/blog_api_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4255d6a · Aug 2, 2018

History

24 Commits
Jun 16, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Jul 30, 2018
Aug 2, 2018
Jun 16, 2018
Jul 30, 2018

Repository files navigation

Blog API

Build Status Coverage Status

Installation

  • Install Python, Pipenv and Postgres on your machine
  • Clone the repository $ git clone https://github.com/olawalejarvis/blog_api.git
  • Change into the directory $ cd /blog_api
  • Activate the project virtual environment with $ pipenv shell command
  • Install all required dependencies with $ pipenv install
  • Export the required environment variables
    $ export FLASK_ENV=development
    $ export DATABASE_URL=postgres://name:password@houst:port/blog_api_db
    $ export JWT_SECRET_KEY=hhgaghhgsdhdhdd
    
  • Start the app with python run.py

POSTS