https://github.com/zdenham/dapi-next
Next.js Example with Dapi.co
https://github.com/zdenham/dapi-next
Last synced: 11 months ago
JSON representation
Next.js Example with Dapi.co
- Host: GitHub
- URL: https://github.com/zdenham/dapi-next
- Owner: zdenham
- Created: 2021-03-02T02:21:55.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-03-02T02:22:10.000Z (over 5 years ago)
- Last Synced: 2024-10-18T12:18:03.764Z (over 1 year ago)
- Language: JavaScript
- Size: 40 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) including the [Dapi](https://dapi.co) web script.
## Env Vars
Create a `.env.local` file and add your app key: `NEXT_PUBLIC_DAPI_APP_KEY=YOUR_APP_KEY`
## Running it
First, run the development server:
```bash
npm run dev
# or
yarn dev
```
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.