DEV Community

Carlos Estrada
Carlos Estrada

Posted on

1

Backend challenge #1 - Beginner level (Simple Api)

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
Enter fullscreen mode Exit fullscreen mode

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
Enter fullscreen mode Exit fullscreen mode

use

localhost/dogs/ # Reacting according with the method passed
Enter fullscreen mode Exit fullscreen mode

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay