An open API service indexing awesome lists of open source software.

https://github.com/startbootstrap/typescript-node


https://github.com/startbootstrap/typescript-node

Last synced: 7 months ago
JSON representation

Awesome Lists containing this project

README

          

# SB Backend Node

## Quick Start

```bash
git clone git@github.com:StartBootstrap/typescript-node.git
cd typescript-node
npm install
cp .env.sample .env
```

### Edit .env to match your local environment

- Be sure to add values for the strings starting with `CHANGE_ME__`

- Execute `## Prisma ### Starting from scratch` below

- If you hit issues with postgress relating to `uuid-ossp`, run this script: `npm run uuid:ossp`

## Prisma

### Starting from scratch

```bash
rm -rf prisma/migrations/20* && npx prisma migrate dev --name init
nr script -- scripts/prisma/seed-root.ts
nr script -- scripts/prisma/seed-test.ts
```

### Data Studio

```bash
npx prisma studio
```