Skip to content

Conversation

yoamomonstruos
Copy link
Contributor

@yoamomonstruos yoamomonstruos commented Apr 13, 2022

Adds a simple example using Next.js demonstrating a simple booking flow. It can be quickly setup using create-next-app which will work properly once merged to the main branch. Had some difficulties making it work with / in the branch name, however have tested and works correctly when there isn't one present.

Like so:

npx create-next-app duffel-next-starter --example "https://github.com/duffelhq/duffel-api-javascript/tree/main/examples/with-next"

@yoamomonstruos yoamomonstruos requested a review from a team as a code owner April 13, 2022 13:14
@yoamomonstruos yoamomonstruos force-pushed the yoamomonstruos/add-nextjs-example branch 3 times, most recently from 52f66f3 to 13bb020 Compare April 14, 2022 09:23
@yoamomonstruos yoamomonstruos force-pushed the yoamomonstruos/add-nextjs-example branch from 13bb020 to 5892a4e Compare April 14, 2022 09:36
Copy link
Contributor

@lapa182 lapa182 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some small comments!

Copy link
Contributor

@go1t go1t left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! The comments are optional

Opt to not handle errors for now
@go1t go1t merged commit 0639d85 into main Apr 22, 2022
@go1t go1t deleted the yoamomonstruos/add-nextjs-example branch April 22, 2022 17:02
@github-actions
Copy link

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants