Skip to content

drajk/example-store-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example Store - Javascript

Demo store for Latitude Checkout - Direct Intgration

This project is a Next.js project bootstrapped with create-next-app.

Running locally

Add a .env file with

STORE_BASE_URL={YOUR_STORE_BASE_URL}
LATITUDE_API_BASE_URL={CONTACT_LFS_REPRESENTATIVE}
LATITUDE_MERCHANT_ID={CONTACT_LFS_REPRESENTATIVE}
LATITUDE_MERCHANT_SECRET={CONTACT_LFS_REPRESENTATIVE}
npm run dev
# or
yarn dev

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

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!