Skip to content

usefahmed07/CRUD-API-Tutoria

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple CRUD Backend API

A simple backend RESTful API that demonstrates basic CRUD operations (Create, Read, Update, Delete). This project is designed to practice backend fundamentals and RESTful API development.

Features

Full CRUD operations RESTful API architecture Clean and modular project structure Separation of routes, controllers, and models Basic error handling Easy to test using Postman or any API client

Tech Stack

Node.js Express.js MongoDB

Project Structure

Copy code

project-root/ ├── routes/ │ └── user.routes.js ├── controllers/ │ └── user.controller.js ├── models/ │ └── user.model.js ├── app.js ├── server.js └── package.json

API Endpoints

Method Endpoint Description GET /users Get all users GET /users/:id Get user by ID POST /users Create a new user PUT /users/:id Update user data DELETE /users/:id Delete a user

Project Purpose

This project was built to: Understand CRUD operations Learn REST API design Practice backend project structure Improve backend development skills

Testing

You can test all endpoints using: Postman Thunder Client Any REST API client

License

This project is for learning and practice purposes.

Built by

About

A simple backend RESTful API that implements basic CRUD operations (Create, Read, Update, Delete).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors