Files
pp-tcms/backend/README.md
Takeshi Kimata dbd842ee25 Change name
2024-06-09 22:07:26 +09:00

42 lines
403 B
Markdown

# UnitTCMS 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
```