Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leerob/next-prisma-starter
Starter project for Next.js + Prisma tutorial.
https://github.com/leerob/next-prisma-starter
nextjs prisma react ssg
Last synced: 3 months ago
JSON representation
Starter project for Next.js + Prisma tutorial.
- Host: GitHub
- URL: https://github.com/leerob/next-prisma-starter
- Owner: leerob
- Created: 2020-04-07T03:10:57.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:52:54.000Z (almost 2 years ago)
- Last Synced: 2024-08-04T14:12:22.875Z (5 months ago)
- Topics: nextjs, prisma, react, ssg
- Language: JavaScript
- Homepage: https://prisma-next.now.sh/
- Size: 421 KB
- Stars: 26
- Watchers: 3
- Forks: 13
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- Awesome-NextJs - next-prisma-starter - [demo](https://prisma-next.vercel.app/) (Nextjs Projects)
README
# Prisma + Next.js Starter
Starter project for [Next.js + Prisma Tutorial](https://leerob.io/blog/next-prisma).
See the completed example [here](https://github.com/leerob/next-prisma).
## Requirements
- Node 10+
- Yarn (or NPM if you prefer)## Getting Started
After cloning the repository, you can run `yarn` to install the dependencies and then start the application with `yarn dev`.
```bash
$ git clone https://github.com/leerob/next-prisma-starter.git
$ yarn
$ yarn dev
```You are now able to view the application at http://localhost:3000. This starter uses fake data to begin the structure of the application. To verify it's working correctly, you should see:
- `/` – The index route should show "Test Song"
- `/songs/1` - The song page should show a hardcoded YouTube embed