A simple CRUD application
-
Clone the repository
git clone https://github.com/jithinkmatthew/crud-app.git
-
Navigate to the repository by typing
cd crud-app
-
Install all the dependencies
npm i
-
Start the Fake Server
npm run mock:api
Once it is successfully started, you can see logs like this. Please refer the below screenshot.
-
Open
http://localhost:4000/
and verify the server status. -
Open
html
file in the browser fromapp
folder. Enter the inputs and click on Submit button. -
After submiting the form, you can see a JSON output.
-
check newly create user details from
http://localhost:4000/users