feat: base pages and news fetching with cron job

This commit is contained in:
Riccardo
2023-11-25 09:20:38 +01:00
parent aa34263bdf
commit 74ec709155
31 changed files with 10641 additions and 123 deletions

View File

@@ -1 +1,43 @@
# nextjs-hackernews
## To do
Basics:
- Email templates
- Subscribe email
- Unsubscribe email
- Newsletter email cron job
- Cookiebot
- Google Analytics
- SEO
## Vercel basics
Install vercel cli
```bash
yarn add -g vercel@latest
```
Link to vercel
```bash
yarn vercel:link
```
Pull env variables from vercel
```bash
yarn vercel:env
```
Push Prisma schema to vercel
```bash
yarn db:push
```
Generate Prisma client
```bash
yarn prisma:generate
```