Files
pp-tcms/backend/README.md
2024-05-13 22:41:26 +09:00

41 lines
402 B
Markdown

# TestPlat Backend
## Install dependencies
```bash
npm install
```
## Set Environmental variable
Create `.env` File
```
NEXT_PUBLIC_BACKEND_ORIGIN=http://localhost:3001
```
## Set up database
```bash
npm run migrate
```
## Run the development server
```bash
npm run start
```
## Database operation command
### drop table
```bash
npm run drop
```
### add seed data
```bash
npm run seed
```