This project is intended to be a Typescript based REST API template for any services that we may be creating.
- Node
- Yarn
- A PSQL Database
- Create a
.env
file with the required fields as shown in the.env.example
. - Ensure you run
yarn
REST API Framework
ORM and Database Manager
- Creating a Migration
Make sure your new table is exported from the
schema.ts
file in the database folder.
npx drizzle-kit generate
- Applying the Migration
npx drizzle-kit migrate