Very basic MERN-stack CRUD application.
THIS CODE IS NOT MY OWN. This tutorial was followed to learn how to build a MERN-stack application.
In two separate terminal windows, run the following commands:-
To start the server run
npm run app
within the root project directory. -
Next, within the
my-app
directory runnpm start
to start the client.Note: if either of these fail, try running
npm install
first. -
Navigate to
http://localhost:3000/
and (if everything went correctly) you should see the following page (same picture for all books):