Skip to content

Web application built with Node.js, Express, Prisma, and MySQL2. It allows users to create, read, update, and delete products and users via a RESTful API.

Notifications You must be signed in to change notification settings

joshuasarmiento/nodejs-prisma-mysql-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodejs, Express, Prisma and Mysql2 Starter (RESTful API)

Description

Web application built with Node.js, Express, Prisma, and MySQL2. It allows users to create, read, update, and delete products and users via a RESTful API.

Features

  • CRUD operations for products and users
  • API versioning and structured folder organization
  • Type safety and checks to the Products CRUD operations

Installation

Clone the repository:

git clone https://github.com/joshuasarmiento/nodejs-prisma-mysql-starter.git

Navigate to the project directory:

cd nodejs-prisma-mysql-starter

Install dependencies:

npm install

Setup:
Configure the database connection in the prisma/schema.prisma file
Run Prisma migrations

npx prisma migrate dev

Generate Prisma client:

npx prisma generate

Build the project:

npm run build

Start the server:

npm run start

About

Web application built with Node.js, Express, Prisma, and MySQL2. It allows users to create, read, update, and delete products and users via a RESTful API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published