Track, sort, and filter travel destinations and discover your next vacation.
- Create a new space on Contentful.
- Build a new Content Model to store travel destinations.
- Click on your space Settings and navigate to API keys.
- Copy and store the Space ID amd Content Delivery API - access token.
- Create a
.env.localfile at the root of the project.
touch .env- Add the saved Space ID and Content Delivery API - access token from Contentful.
CONTENTFUL_SPACE_ID=
CONTENTFUL_ACCESS_TOKEN=- Install dependencies
npm install- Run the Next app
npm run dev