Skip to content

Niltonsf/ignews

Repository files navigation

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

and

stripe listen --forward-to localhost:3000/api/webhooks

Open http://localhost:3000 with your browser to see the result.

Configure .env.local

STRIPE_API_KEY= NEXT_PUBLIC_STRIPE_PUBLIC_KEY= STRIPE_WEBHOOK_SECRET= STRIPE_SUCCESS_URL= http://localhost:3000/posts STRIPE_CANCEL_URL= http://localhost:3000/

FAUNADB_KEY=

GITHUB_CLIENT_ID= GITHUB_CLIENT_SECRET=

PRISMIC_ACCESS_TOKEN= PRISMIC_ENTRY_POINT=

Listening to stripe

[stripe listen --forward-to localhost:3000/api/webhooks]

About

IGNews application using NextJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published