Files
pp-tcms/backend/README.md
Takeshi Kimata 755379ae0f Change name
2024-06-02 14:35:34 +09:00

42 lines
403 B
Markdown

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