Start from your users API
Start from the finished project from Build a REST API from nothing: a users-api folder with Express installed, server.js, and the user routes in routes/users.js.
If you don't have it any more, run the commands below and copy in the two files.
WHY
Sign-in is a layer on top of an API you already have. Every later step changes these two files or adds a small one next to them.