2024-02-15 20:49:40 +01:00
2024-02-15 20:49:40 +01:00
2024-01-19 20:53:53 +01:00
2023-11-29 19:44:39 +01:00
2023-11-29 19:44:39 +01:00
2024-02-15 20:48:31 +01:00
2023-12-19 19:22:02 +01:00
2023-12-19 19:22:02 +01:00
2023-11-25 08:56:01 +01:00
2023-12-05 20:13:29 +01:00
2024-01-20 03:00:31 +01:00
2024-01-25 18:12:37 +01:00
2024-02-15 20:48:31 +01:00

Hackernews newsletter

Next up

  • Adjust card size
  • Tweak email templates
  • Cron every 10 minutes: people are more likely to open the newsletter if delivered around the time when they subscribed (if cron becomes not enough, then the cost of sending all the emails might be a bigger issue)

Some resources used

https://gradientbuttons.colorion.co/ https://codepen.io/alphardex/pen/vYEYGzp

Commands

Install vercel cli

yarn add -g vercel@latest

Link to vercel

yarn vercel:link

Pull env variables from vercel

yarn vercel:env

Push Prisma schema to vercel

yarn db:push

Generate Prisma client

yarn prisma:generate

Reset Prisma database

yarn db:reset

Run on Docker

docker-compose up --build
Description
A newsletter project to receive the top stories from the Hacker News forum via email
Readme MIT 6.3 MiB
Languages
TypeScript 91.7%
CSS 3.7%
HTML 2.7%
JavaScript 0.9%
Dockerfile 0.7%
Other 0.3%