File tree Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Expand file tree Collapse file tree 1 file changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,15 @@ async function main() {
157157main();
158158----
159159
160- Additionally, create a file `utils.js` in the same directory and add the following code to it:
160+ Additionally, create a file `utils.js` in the same directory.
161+ Install additional dependencies:
162+
163+ [source, bash, indent=0]
164+ ----
165+ npm install bcrypt jsonwebtoken
166+ ----
167+
168+ Add the following code to `utils.js`:
161169
162170[source, javascript, indent=0]
163171----
@@ -195,13 +203,6 @@ The code for the util functions `createJWT` and `comparePassword` is an example.
195203Adjust it to suit your use case.
196204====
197205
198- Install the additional dependencies:
199-
200- [source, bash, indent=0]
201- ----
202- npm install bcrypt jsonwebtoken
203- ----
204-
205206Back on the command line, run the following command to start your server:
206207
207208[source, bash, indent=0]
You can’t perform that action at this time.
0 commit comments