Example of Prisma usage with singleton instance in Nuxt 3 Application
Ready to use starter
- npm install
- rename env.example to .env and fill with your credentials
- npm run prisma migrate dev
- npm run prisma:seed
Then, run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app.vue
. The page auto-updates as you edit the file.
- Node.js >=18.17
- NPM >=9.8.1
- MySQL >=8.0.26