Skip to content

Commit f3e9d7a

Browse files
committed
docs(auth): add hints with test user credentials
1 parent 0c57333 commit f3e9d7a

File tree

2 files changed

+23
-6
lines changed

2 files changed

+23
-6
lines changed

README.md

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,34 @@ The steps below will take you through cloning your own fork, installing dependen
2020
git clone https://github.com/CreativeIT/material-angular-dashboard.git
2121
```
2222

23-
2. Open your copied repo folder in terminal and install necessary modules with command, make sure that you have installed [npm](https://www.npmjs.com/get-npm):
23+
2. Open your copied repo folder in terminal and checkout `feature/backend` branch to use bundle with backend.
24+
25+
```bash
26+
git checkout feature/backend
27+
```
28+
29+
3. Install necessary modules, make sure that you have installed [npm](https://www.npmjs.com/get-npm):
2430

2531
```bash
2632
npm install
33+
# then for backend
34+
cd backend
35+
npm install
2736
```
2837

29-
3. Install [angular-cli](https://cli.angular.io/) globally to use its commands in the terminal:
38+
4. Install [angular-cli](https://cli.angular.io/) globally to use its commands in the terminal:
3039

3140
```bash
3241
npm install --global @angular/cli
3342
```
3443

35-
4. Now you are able to run or build the project:
44+
5. Now you are able to run or build the project:
45+
46+
Run `npm start` or `ng serve` for a dev server. The app will automatically reload if you change any of the source files. Or run `npm run build` or `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
3647

37-
Run `npm start` or `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
48+
Go to `backend` directory and run `npm start` to start node.js backend.
3849

39-
Run `npm run build` or `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
50+
Navigate to `http://localhost:4200/`. Use the following credentials to sign in the Dashboard: user: _[email protected]_ , password: _admin_
4051

4152
# FEATURES
4253

@@ -46,6 +57,10 @@ Run `npm run build` or `ng build` to build the project. The build artifacts will
4657

4758
* TypeScript
4859

60+
* [Passport.js](http://www.passportjs.org/)
61+
62+
* [Express](https://expressjs.com/)
63+
4964
* Responsive dark material design. DARK, Carl!
5065

5166
* User experience focused

src/app/pages/auth/login/login.component.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
</div>
77
<div class="mdl-cell mdl-cell--12-col mdl-cell--4-col-phone">
88
<span class="blank-layout-card-name text-color--white">Sign in</span>
9-
<span class="blank-layout-card-secondary-text text-color--smoke">Enter fields to sign in to DARKBOARD</span>
9+
<span class="blank-layout-card-secondary-text text-color--smoke">Enter fields to sign in to DARKBOARD</span><br>
10+
<span class="blank-layout-card-secondary-text text-color--smoke">Use the following credentials:</span><br>
11+
<span class="blank-layout-card-secondary-text text-color--smoke">user: <strong>[email protected]</strong> , password: <strong>admin</strong></span>
1012
</div>
1113
<form class="login-form" [formGroup]="loginForm" (submit)="login()" autocomplete="off" novalidate>
1214
<div class="mdl-cell mdl-cell--12-col mdl-cell--4-col-phone">

0 commit comments

Comments
 (0)