https://github.com/startbootstrap/typescript-node
https://github.com/startbootstrap/typescript-node
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/startbootstrap/typescript-node
- Owner: StartBootstrap
- Created: 2021-06-08T13:29:20.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-06-09T16:57:15.000Z (over 4 years ago)
- Last Synced: 2025-06-30T03:09:16.130Z (7 months ago)
- Language: TypeScript
- Size: 184 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```