Skip to content

Latest commit

 

History

History
74 lines (46 loc) · 2.33 KB

File metadata and controls

74 lines (46 loc) · 2.33 KB

🛍️ Product Management API

Node.js Express.js JavaScript Status Made by RenanDevWeb

This project is a Product Management API built using Node.js and Express.js. It provides endpoints for creating, retrieving, updating, and deleting products in a system.


🚀 Technologies Used

  • Node.js – :contentReference[oaicite:3]{index=3}​:contentReference[oaicite:4]{index=4}
  • Express.js – :contentReference[oaicite:5]{index=5}​:contentReference[oaicite:6]{index=6}
  • JavaScript (ES6+) – :contentReference[oaicite:7]{index=7}​:contentReference[oaicite:8]{index=8}

🌟 Features

  • CRUD Operations: :contentReference[oaicite:9]{index=9}​:contentReference[oaicite:10]{index=10}
  • RESTful Endpoints: :contentReference[oaicite:11]{index=11}​:contentReference[oaicite:12]{index=12}
  • Middleware Integration: :contentReference[oaicite:13]{index=13}​:contentReference[oaicite:14]{index=14}

🛠️ How to Use

  1. Clone this repository:

    git clone https://github.com/RenanDevWeb/apiProdutos.git

Navigate to the project directory:

cd apiProdutos Navigate to the backend directory:

cd backend Install the dependencies:

bash

npm install Start the server:

npm start Access the API:

The API will be running at http://localhost:3000. Use tools like Postman or cURL to interact with the endpoints.

📖 API Endpoints GET /products: Retrieve all products.​

GET /products/:id: Retrieve a specific product by ID.​ GitHub +1 GitHub +1

POST /products: Create a new product.​

PUT /products/:id: Update an existing product by ID.​

DELETE /products/:id: Delete a product by ID.​

📄 License This project is open-source and available under the MIT License. Feel free to use and modify it for your learning or personal projects.​