Skip to content

olawalejarvis/blog_api_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

Blog API Written in Python Flask- Part 1: https://www.codementor.io/olawalealadeusi896/restful-api-with-python-flask-framework-and-postgres-db-part-1-kbrwbygx5 Part 2: https://www.codementor.io/olawalealadeusi896/building-a-restful-blog-apis-using-python-and-flask-part-2-l9y8awusp Part 3: https://www.codementor.io/olawalealadeusi896/building-a-res…

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages