| title | ExpressJS Prisma | ||||
|---|---|---|---|---|---|
| description | An ExpressJS server that uses Prisma to connect to a PostgreSQL database | ||||
| tags |
|
This is an ExpressJS REST API that uses Prisma to connect to a Postgres database and CRUD contacts.
- Prisma
- Express
- Postgres
- TypeScript
- Install dependencies
npm - Provision a Postgres container on Railway
- Connect to your Railway project with
railway link - Migrate the database
railway run npm run migrate:dev - Run the Server app
railway run npm run dev