Step 1: Clone the repository.
Step 2: cd
into the cloned folder | cd demo-fe
.
Step 1: npm install
.
Step 2: Create.env.local
file using the command touch .env.local
in the root folder.
Step 3: Add NEXT_PUBLIC_MAPGL_KEY=
, NEXT_PUBLIC_BACKEND_BASE_URL=https://demo-api-endpoint.herokuapp.com/api
inside the .env.local
that was created.
Step 4: npm run dev
.
Step 4: Go to http://localhost:3000
.