Skip to content

Commit

Permalink
Merge pull request #7 from JIlyaS/module5-task2
Browse files Browse the repository at this point in the history
  • Loading branch information
keksobot authored Oct 22, 2024
2 parents 90f571a + f446563 commit 3854664
Show file tree
Hide file tree
Showing 33 changed files with 845 additions and 85 deletions.
4 changes: 2 additions & 2 deletions Workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ npm run mock:server
### --generate:

```bash
npm run ts ./src/main.cli.ts -- --generate 100 ./mocks/test-data.tsv http://localhost:3123/api
npm run ts ./src/main.cli.ts -- --generate 100 ./src/mocks/test-data.tsv http://localhost:3123/api
```

### --import

```bash
npm run ts ./src/main.cli.ts -- --import ./src/mocks/test-data.tsv admin test localhost six-sities secret
npm run ts ./src/main.cli.ts -- --import ./src/mocks/test-data.tsv admin test localhost six-cities secret
```

```bash
Expand Down
7 changes: 7 additions & 0 deletions nodemon.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"watch": [
"src"
],
"ext": "ts, json",
"exec": "npm run ts ./src/main.rest.ts | pino-pretty --colorize --translateTime SYS:standard"
}
Loading

0 comments on commit 3854664

Please sign in to comment.