Building a FARM Stack Application — Part 2 — Creating an API

Nuno Bispo
Geek Culture
Published in
10 min readSep 1, 2021

--

Welcome to this tutorial series about building a FARM stack application. By the end of this tutorial you will learn all the necessary steps to develop, test an deploy a FARM stack application.

On this part 2 of this tutorial series we will work on our API and start creating all the CRUD actions necessary to Create, Read, Update and Delete records from our MongoDB.

Check out part 1 at:

What are CRUD actions ?

CRUD stands for Create, Read, Update and Delete. This pattern gives us all the necessary actions to manage a particular record in a database, in our case on MongoDB.

For our API this translate to POST, GET, PUT, DELETE methods, respectively. We will created this methods on our API and interact with MongoDB to change the database records (database records for MongoDB means documents), but for now we will maintain a list in memory instead of MongoDB.

Setup GitHub for our API project

--

--

Nuno Bispo
Geek Culture

➡️ Content Creator 📜 ➡️ Software Builder 🧑‍💻 ➡️ Follow me for content about 🐍 Python 📘 Django 🧠 A.I.