Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Node.js REST API with Prisma and MySQL

Backend REST API built with Node.js, Express, Prisma ORM, and MySQL, following a clean architecture approach.

Tech Stack

  • Node.js
  • Express.js
  • Prisma ORM
  • MySQL
  • REST API

Features

  • Create Product
  • Update Product
  • Delete Product
  • Get Products
  • Category relationship (One-to-Many)
  • Clean Architecture structure

Installation

npm install
npx prisma migrate dev
node src/app.js

API Endpoints

Products
GET /products
POST /products
PUT /products/:id
DELETE /products/:id
{
  "name": "Laptop",
  "price": 1500,
  "stock": 10,
  "categoryId": 1
}```

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages