This is a Next.js project bootstrapped with create-next-app
.
- node >= 18
- port 3000 open
- Conductor server
- To run this app against a server, you need to set the KEY, SECRET and server URL
- To obtain the KEY and SECRET for the server, visit the applications from the Conductor UI, create a new application and copy the KEY and SECRET.
- Export the variables as below
# set the KEY and SECRET values with the one obtained from the Conductor UI after creating an application
export KEY=
export SECRET=
# replace CONDUCTOR_SERVER with the actual hostname, the URL must end with /api
export SERVER_URL=http://CONDUCTOR_SERVER/api
# Optional checkout workflow name defaults to MyCheckout2
export WF_NAME=movie-synopsis-test
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev