Skip to content

Commit 2284b4c

Browse files
committed
docs(developing:gettingStarted): finish up
1 parent d6a2e29 commit 2284b4c

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

docs/02_Developing/00_Starting_Up.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,24 @@ Assuming you scaffolded with a back-end database, you should see some 'features'
9595

9696
Neat. Let's see what else we can do.
9797

98-
### Sign Up
98+
### Auth
9999

100-
[TODO]
100+
Assuming you scaffolded with auth support, you should see a 'Sign Up' and a 'Log In' button at the top-right of your page. Let's go to the Log In page.
101+
102+
You should see inputs for an email address and a password. When running your project in a devlopment environment, you'll get two user accounts automatically generated:
103+
104+
* Test User
105+
* email: test@example.com
106+
* password: test
107+
* role: user
108+
* Admin
109+
* email: admin@example.com
110+
* password: admin
111+
* role: admin
112+
113+
Go ahead and log in with the admin account, so we can see the extra admin bits too. You should then get sent back to the home page, but should notice that the navbar looks a bit different:
114+
115+
<img src="../images/logged-in.jpg" alt="Logged in as admin screenshot">
116+
117+
118+
First, at the top right, we see a greeting for our username, a cog icon (for user settings), and a logout button. Then, since we're an admin, we see a new 'Admin' state on the navbar. The admin section lists users and allows you to delete them. The user settings page allows you to change your password.

docs/images/logged-in.jpg

228 KB
Loading

0 commit comments

Comments
 (0)