You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-6Lines changed: 3 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,19 +150,16 @@ This project uses:
150
150
> **⚠️ Warning:**
151
151
> If you encounter any difficulties or something doesn't go as planned, read [this file](scripts/README.md) to execute it manually.
152
152
153
-
2. Create a user; open a browser to [http://localhost:5555](http://localhost:5555) and fill out Users table with fields:
154
-
155
-
- `name`
156
-
- `surname`
157
-
- `email`
158
-
- `password`, the password must first be encrypted using [SHA-256](https://codebeautify.org/sha256-hash-generator), and then the resulting hash should be encrypted using [BCrypt](https://bcrypt-generator.com/) with 12 rounds (store this in password field).
153
+
2. Create a user; open a browser to [http://localhost:3000/sign-up](http://localhost:3000/sign-up) and sign up.
159
154
160
155
3. _Optionally_, you can run the following exactly script to generate and fill database with fake data:
161
156
162
157
```bash
163
158
npm run setup:data --user=<user_id_created_before>
164
159
```
165
160
161
+
> You can find user ID on the [personal information page](http://localhost:3000/account/profile)
0 commit comments