Your mission is to add a working hit counter to the homepage, by using database.json
as the source of truth.
First, install the dependencies:
$ npm install
Then, start a local development server:
$ npm run dev
Note: Unlike create-react-app, we need to run the dev
command, not start
. The start
command is used to run a production server; we'll learn more about that later in the course.