/rest-starter

boilerplate REST api project with typescript and express

Primary LanguageTypeScriptMIT LicenseMIT

Typescript-Express-Mongo-Zod REST Starter

Typescript Express MongoDB Prisma Zod Pino PNPM

A boilerplate to quickly get started with building a REST api.

Scripts

Start in Development mode: pnpm dev

Build: pnpm build

Start in Production mode : pnpm start

Format the code with prettier: pnpm format

Lint the code: pnpm lint

Run tests: pnpm test


Environment Variables

Environment variables are securely stored with dotenv-vault.

Login to dotenv-vault: pnpm env:login

Open dotenv-vault: pnpm env:open

Pull environment from dotenv-vault: pnpm env:pull

Push environment to dotenv-vault: pnpm env:push