Starter code + solution code for the book-e json api.
- Fork and clone this repository.
cd
into the newly created folder calledbook-e-json
.git checkout solution
to see the solution branch with comments!- Run
npm install
. - Run
brew services restart mongodb-community
, if mongo isn't already running. - Run
node db/seed
. This will runseed.js
in thedb/
directory. - Hit
ctrl + c
to exit the process and get back control of your terminal. - Run
nodemon
. If nodemon is not installed,npm i -g nodemon
will install it globally. - Navigate to
localhost:8080
in your browser. You should see some bookmarks data.
The solution branch has comments in various files describing what each part does.
Make sure you switch back to master (git checkout master
) before working on it.