If you are writing any form of web application, then you are most likely interfacing with 1 or more REST APIs in order to populate the dynamic parts of your application and to perform tasks such as updating or deleting data within a database.
In this repository we are going to build a REST API that exposes GET, POST, DELETE and PUT endpoints that will subsequently allow you to perform the full range of CRUD operations.
In order to keep this simple and focus on the basic concepts, we won’t be interacting with any backend database technologies to store
the articles that we’ll be playing with. However, we will be writing this REST API in such a way that it will be easy to update the
functions we will be defining so that they make subsequent calls to a database to perform any necessary CRUD operations
- Creating a demo http server in GO
- Simple read pertion on simple routes
- Read operation using mux router
- Create operation
- Delete operation
-
Clone the repo
- git clone
-
Run the app using
- specific file name to run the project