Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zacharynoble/fastify-drizzle-template
A Node.js & Fastify guide for user authentication, request validations, ORMs, & more.
https://github.com/zacharynoble/fastify-drizzle-template
authentication drizzle drizzle-orm error-handling eslint fastify logging nodejs postgres prettier rest-api sessions sql starter-kit template typescript
Last synced: 28 days ago
JSON representation
A Node.js & Fastify guide for user authentication, request validations, ORMs, & more.
- Host: GitHub
- URL: https://github.com/zacharynoble/fastify-drizzle-template
- Owner: zacharynoble
- License: mit
- Created: 2024-08-06T06:42:56.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T22:48:09.000Z (about 1 month ago)
- Last Synced: 2024-09-28T11:22:38.626Z (about 1 month ago)
- Topics: authentication, drizzle, drizzle-orm, error-handling, eslint, fastify, logging, nodejs, postgres, prettier, rest-api, sessions, sql, starter-kit, template, typescript
- Language: TypeScript
- Homepage:
- Size: 72.3 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Guide
Frontend built to integrate 1:1 with this project: https://github.com/zacharynoble/next-template
### Set-up Environment Variables
- Create a new file at the root level of the project directory named ```.env```.
- Copy the contents of ```.env.example``` to ```.env```
- Update any environment variables using placeholders to match your config### Install Packages
npm install### Start the application in dev mode
npm run dev### Start the application in production mode
npm run build
npm run start### Generate SQL migration script
npm run generate### Browser SQL editor
npm run studio