This example project demonstrates how to integrate OneSignal into your Next.js website or app. You can use this project as boilerplate or a reference for your own website.
Interested in learning more about this project? Check out this blog post.
- Run
yarn
to install packages - Run
yarn dev
to start a dev instance of the server
Note that you will need to have a OneSignal app created before this example will work. Check the blog post for guidance on creating an app on OneSignal.