- Install project dependencies:
yarn install or npm install
- Start the application:
yarn dev
- Once the webhook endpoint for development is generated, it is necessary to run the client along with the project.
stripe listen --forward-to localhost:3000/api/webhooks
- See the Stripe Documentation for more information.
To run this project, you will need to add the following environment variables to your .env
file:
GITHUB_ID
: GithubGITHUB_SECRET
: GithubNEXT_PUBLIC_STRIPE_API_PUBLIC_KEY
: StripeSTRIPE_API_KEY
: StripeSTRIPE_SUCCESS_URL
: StripeSTRIPE_CANCEL_URL
: StripeSTRIPE_WEBHOOK_SECRET
: StripeFAUNADB_KEY
: FaunaDBPRISMIC_ENDPOINT
: PrismicCMSPRISMIC_ACCESS_TOKEN
: PrismicCMS