This is a small API which will be used for API workshops. The backend is json file.
In order to run this locally, here are preconditions:
-
Install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
-
Install node
https://formulae.brew.sh/formula/node
-
Clone the repo
-
cd into project folder
-
npm install
-
node index.js
The server is running on port 3000, so go to http://localhost:3000/users to test