Skip to content

Medkhat/blog_api_tutorial

 
 

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