https://github.com/alevidals/next13-posts
This is a little project that I did to learn Next 13 app directory, server actions and server components following the next video of Sam Selikoff https://www.youtube.com/watch?v=OAmp3GTfZnU
https://github.com/alevidals/next13-posts
Last synced: 2 months ago
JSON representation
This is a little project that I did to learn Next 13 app directory, server actions and server components following the next video of Sam Selikoff https://www.youtube.com/watch?v=OAmp3GTfZnU
- Host: GitHub
- URL: https://github.com/alevidals/next13-posts
- Owner: alevidals
- Created: 2023-05-27T11:30:27.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-27T11:47:52.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T03:14:06.124Z (4 months ago)
- Language: TypeScript
- Homepage:
- Size: 94.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project that I created to learn about new features like server and action components. I learned about it through a video by [Sam Selikoff](https://www.youtube.com/watch?v=OAmp3GTfZnU).
## Getting startedIf you want to try this, follow the next steps:
### Install the dependencies:
```bash
pnpm install
# or
yarn install
# or
npm install
```### "Create a .env file with the content of .env.example (you can simply copy it or change the file path if you want to locate it in another location)
```bash
cp .env.example .env
```### Push the prisma schema to the database
```bash
npx prisma db push
```### Start the project and try it!
```bash
npm run dev
# or
yarn dev
# or
pnpm dev
```