Skip to content

Commit aab236e

Browse files
committed
chore: README
1 parent efa10ca commit aab236e

File tree

1 file changed

+16
-23
lines changed

1 file changed

+16
-23
lines changed

README.md

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
21

3-
## Getting Started
2+
## Example Store - Javascript
43

5-
First, run the development server:
4+
Demo store or Latitude Checkout - Direct Intgration
5+
6+
This project is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
7+
8+
9+
## Running locally
10+
11+
Add a `.env` file with
12+
13+
```bash
14+
STORE_BASE_URL={YOUR_STORE_BASE_URL}
15+
LATITUDE_API_BASE_URL={CONTACT_LFS_REPRESENTATIVE}
16+
LATITUDE_MERCHANT_ID={CONTACT_LFS_REPRESENTATIVE}
17+
LATITUDE_MERCHANT_SECRET={CONTACT_LFS_REPRESENTATIVE}
18+
```
619

720
```bash
821
npm run dev
@@ -12,20 +25,6 @@ yarn dev
1225

1326
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
1427

15-
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
16-
17-
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.js`.
18-
19-
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
20-
21-
## Environment variables
22-
23-
```bash
24-
STORE_BASE_URL=
25-
LATITUDE_API_BASE_URL=
26-
LATITUDE_MERCHANT_ID=
27-
LATITUDE_MERCHANT_SECRET=
28-
```
2928

3029
## Learn More
3130

@@ -35,9 +34,3 @@ To learn more about Next.js, take a look at the following resources:
3534
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
3635

3736
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
38-
39-
## Deploy on Vercel
40-
41-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
42-
43-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.

0 commit comments

Comments
 (0)