-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f7e94a6
commit ff2cbe9
Showing
6 changed files
with
63 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,15 +3,17 @@ | |
This repository contains a full-stack TypeScript application consisting of a NestJS backend and an Angular frontend. | ||
|
||
Prerequisites: | ||
- Docker or a locally running MySQL installation | ||
- NodeJS 16+ (tested with v18.13.0) | ||
- Code Editor (VSCode is recommended) | ||
|
||
- Docker or a locally running MySQL installation | ||
- NodeJS 16+ (tested with v18.13.0) | ||
- Code Editor (VSCode is recommended) | ||
|
||
Getting started: | ||
- Install the dependencies `npx yarn install`. | ||
- If you don't have a local MySQL installation, start one in docker: `docker run -d -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=conduit -e MYSQL_DATABASE=conduit -e MYSQL_USER=conduit -e MYSQL_PASSWORD=conduit mysql:8.1` | ||
- Adjust the `apps/backend/mikro-orm.config.ts` with your MySQL credentials (they already match the ones from the docker command above). | ||
- Start the app (both backend and frontend at once): `npm start`. | ||
- After the backend successfully starts, in a new terminal `npm run seed` to seed the database with some initial data. | ||
- You can now access the UI at http://localhost:4200 and login with `[email protected]` / `password`. | ||
- You can also find the backend API spec at http://localhost:3000/docs. | ||
|
||
- Install the dependencies `npx yarn install`. | ||
- If you don't have a local MySQL installation, start one in docker: `docker run -d -p 3306:3306 --name mysql -e MYSQL_ROOT_PASSWORD=conduit -e MYSQL_DATABASE=conduit -e MYSQL_USER=conduit -e MYSQL_PASSWORD=conduit mysql:8.1` | ||
- Adjust the `apps/backend/mikro-orm.config.ts` with your MySQL credentials (they already match the ones from the docker command above). | ||
- Start the app (both backend and frontend at once): `npm start`. | ||
- After the backend successfully starts, in a new terminal `npm run seed` to seed the database with some initial data. | ||
- You can now access the UI at http://localhost:4200 and login with `[email protected]` / `password`. | ||
- You can also find the backend API spec at http://localhost:3000/docs. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters