Skip to content

A simple RESTful API built with Node.js, Express, and MongoDB for learning and development purposes. This API demonstrates CRUD operations with endpoints to manage data, using an in-memory database or MongoDB.

Notifications You must be signed in to change notification settings

Arbythecoder/restfulAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

RESTful API

This project is a simple RESTful API built with Node.js, Express, and MongoDB. It demonstrates how to perform basic CRUD (Create, Read, Update, Delete) operations and is ideal for learning or development purposes.

Features

  • CRUD Operations: Create, Read, Update, and Delete resources.
  • In-Memory Database: Uses an in-memory database for testing and development.
  • MongoDB Integration: Connect to a MongoDB database for persistent data storage.
  • Express Framework: Lightweight and fast backend framework.
  • Environment Configuration: Manage configurations using .env file.

Endpoints

Here are the main endpoints for the API:

  • GET /items: Retrieve a list of all items.
  • POST /items: Add a new item.
  • GET /items/:id: Retrieve details of a specific item.
  • PUT /items/:id: Update details of a specific item.
  • DELETE /items/:id: Delete a specific item.

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/restfulAPI.git

About

A simple RESTful API built with Node.js, Express, and MongoDB for learning and development purposes. This API demonstrates CRUD operations with endpoints to manage data, using an in-memory database or MongoDB.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published