Backend challenge #1 - Beginner level (Simple Api)
Carlos Estrada
Posted on February 8, 2024
If you want to start your journey in the backend development world, welcome to this series that I decide to call Backend challenges where we will look at some interestings projects related to the backend development.
We will start from 0 until we become a backend developer. All of this series will be based on making projects, I will share the characteristics and goal of the project, and you will have to choose the tools and language to make the project.
This include database, frameworks, programming language, etc.
So let's get started with the first project:
Single Endpoint Api (No DB connections)
Project description
Build an api with just one endpoint that allows the user to do the next:
- Get an array of resources
- Create an element for that resource
- Updating an element of the list of resources
- Deleting an element of the list of resources
Requirements
- Do the 4 basic actions (Create, Read, Update and Delete)
- The data should be stored in an array
Example of some endpoint for the project
<site>.com/<endpoint>
# Example
localhost/dogs/get
localhost/dogs/post
localhost/dogs/put
localhost/dogs/delete
Not needed but recommended
This is the list of things that you can do for the project, but they are just recommended things that can be omited.
- Just use one name for the four request for example instead of
localhost/dogs/get
localhost/dogs/post
localhost/dogs/put
localhost/dogs/delete
use
localhost/dogs/ # Reacting according with the method passed
Posted on February 8, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.