This project is a full-stack CRUD (create, read, update, delete) application using Prisma, Express, and React
cd backendcopy the .env.example file to .env
APP_PORT=5000
DATABASE_URL="mysql://root:123456@localhost:3306/prisma-react"
Install dependencies
npm installGenerate the Prisma Client
npx prisma generate
Migrate Database with Prisma
npx prisma migrate dev
Start the server
npm startYour 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.
cd frontend
# Install dependencies...
npm install
# To start the application...
npm startRuns the app in the development mode. Open http://localhost:3000 to view it in your browser.