Skip to content

Commit

Permalink
Update README to include database schema generation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
choidabom committed Oct 18, 2024
1 parent bc5c353 commit 279f5c7
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,14 +101,20 @@ We offer two options. Choose the one that best suits your needs:
pnpm install
```

4. Run the Backend application and the Frontend application:
4. After installing dependencies, generate the database schema.

```bash
pnpm backend db:generate
```

5. Run the Backend application and the Frontend application.

```bash
pnpm backend start:dev
pnpm frontend dev
```

5. Visit http://localhost:5173 to enjoy your CodePair.
6. Visit http://localhost:5173 to enjoy your CodePair.

## Contributing

Expand Down
10 changes: 8 additions & 2 deletions backend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,20 @@ This project is the backend part of the CodePair service developed using NestJS.
pnpm install
```

5. Run the Backend application:
5. After installing dependencies, generate the database schema.

```bash
pnpm backend db:generate
```

6. Run the Backend application.

```bash
# In the root directory of the repository and run.
pnpm backend start:dev
```

6. Visit http://localhost:3000 to enjoy your CodePair.
7. Visit http://localhost:3000 to enjoy your CodePair.

## API Specification

Expand Down

0 comments on commit 279f5c7

Please sign in to comment.