Form submission software
- Prerequisites: install latest LTS
node.jsand latestpnpm - create your
.envfile entries. Example - push database schema
pnpm drizzle push
pnpm install && pnpm devCreate Google OAuth 2.0 Client
Application type: Web application
name: localhost
Authorized JavaScript origins: http://localhost:3000
Authorized redirect URIs: http://localhost:3000/api/auth/callback/google
Application Name: [dev] Form Owl
Homepage URL: http://localhost:3000
Authorization callback URL: http://localhost:3000/api/auth/callback/github
Using maildev for local SMTP server and nodemailer to send mail.
- run local smtp server
pnpm dev:smtp - set local smtp server into
.env - preview email templates
pnpm dev:emails
stripe login
stripe listen --forward-to localhost:3000/api/auth/stripe/webhook