Skip to content

This project is a full-stack CRUD (create, read, update, delete) application using Prisma, Express, and React

License

Notifications You must be signed in to change notification settings

faisalfjri/crud-prisma-express-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Full-stack CRUD with Prisma, Express and React

This project is a full-stack CRUD (create, read, update, delete) application using Prisma, Express, and React

Back-End

cd backend

copy the .env.example file to .env

APP_PORT=5000
DATABASE_URL="mysql://root:123456@localhost:3306/prisma-react"

Install dependencies

npm install

Generate the Prisma Client

npx prisma generate

Migrate Database with Prisma

npx prisma migrate dev

Start the server

npm start

Your express server will now be running on port 5000. You can visit http://localhost:5000 in your web browser to verify that the server is working correctly.

Front-End

cd frontend

# Install dependencies...
npm install

# To start the application...
npm start

Runs the app in the development mode. Open http://localhost:3000 to view it in your browser.

About

This project is a full-stack CRUD (create, read, update, delete) application using Prisma, Express, and React

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published