Sebagai seorang pemula dalam bidang data science, akhir-akhir ini, saya sedang suka bikin mini-project. Itung-itung buat latihan dan juga portofolio (kalau hasilnya menarik). Tapi, kadang hal yang paling sulit adalah cari ide atau topik yang mau dibahas. Seringnya sih, saya buka Medium sambil cari apa aja sih yang orang lain bikin. Sampai pada akhirnya, saya ketemu sebuah tulisan yang sangat menarik:

Mas Ramda Yanurzha (Go check his account, he made great and compelling articles with data) mencoba membuat visualisasi dari data perguruan tinggi yang datanya bisa diakses langsung dari web PDDIKTI. Waktu baca artikel ini, saya pikir, “Kayaknya menarik buat…


Image for post
Image for post
Photo by Tianyi Ma on Unsplash

Step-by-step tutorial on how to create simple REST API using Python, Flask and Heroku

Table of Contents

  • (Part 1) Setting Up Heroku Application
  • (Part 1) Adding Data to Heroku PostgreSQL Database Using SQLAlchemy
  • (Part 2) Creating Simple REST API Locally Using Python and Flask
  • (Part 2) Deploying REST API to Heroku

Previously, we have configured our Heroku application and added data to our database using Kaggle data-set. In this second part, we will try to create our REST API application locally in our computer and after that, we will deploy it on Heroku so we can access it globally. Let’s get on to the next step!

Creating Simple REST API Locally Using Python and Flask

In this step, we will try to build our REST API…


Image for post
Image for post
Photo by Kari Shea on Unsplash

Step-by-step tutorial on how to create simple REST API using Python, Flask and Heroku

Table of Contents

  • (Part 1) Setting Up Heroku Application
  • (Part 1) Adding Data to Heroku PostgreSQL Database Using SQLAlchemy
  • (Part 2) Creating Simple REST API Locally Using Python and Flask
  • (Part 2) Deploying REST API to Heroku

You may have heard about API before. API or Application Programming Interface determines how application talk to each other by set of rules. REST or Representational State Transfer is the set rules that developers follow when creating their API. There are 6 guiding constraints for API can be referred as REST API that you can read here. …

yosiadityan

A beginner venturing into data science

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store