git clone https://github.com/fleetimee/express-drizzle-auth-template.git
cd express-drizzle-auth-template
Create a .env file at the app root level for configurations
NODE_ENV = DEVELOPMENT
DB_HOST = localhost
DB_PORT = 5432
DB_USER = yourusername
DB_PASSWORD = yourpassword
DB_DATABASE = yourdbname
APP_PORT = 8080
JWT_SECRET_KEY = make-sure-this-secret-key-is-very-secure-in-prod
ORIGIN = http://127.0.0.1:3000
Start the application in dev mode
Start the application in production mode
npm run build
npm run start
Generate SQL migration script