https://github.com/QuestAI/shopify-quest-demo
Custom shopping experience - Figma design and NextJS code
https://github.com/QuestAI/shopify-quest-demo
custom nextjs shopify storefront
Last synced: 5 months ago
JSON representation
Custom shopping experience - Figma design and NextJS code
- Host: GitHub
- URL: https://github.com/QuestAI/shopify-quest-demo
- Owner: QuestAI
- Created: 2023-07-10T18:48:30.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-07-20T18:07:22.000Z (almost 2 years ago)
- Last Synced: 2024-08-03T22:23:16.320Z (9 months ago)
- Topics: custom, nextjs, shopify, storefront
- Language: JavaScript
- Homepage: https://quest.ai
- Size: 2.6 MB
- Stars: 8
- Watchers: 0
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - QuestAI/shopify-quest-demo - Custom shopping experience - Figma design and NextJS code (JavaScript)
README
# Shopify - Quest Template
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).
All UI components were build with Quest.ai## Getting Started
1) First, you need to get your Shopify Storefront Token and Storefront name and put it in the `next.config.js` file
* ##### [How to get Shopify Storefront Token](https://www.shopify.com/partners/blog/17056443-how-to-generate-a-shopify-api-token)* ##### How to get Shopify Storefront name Token
* Log in to your Shopify admin.
* Look in the URL address bar at the top of the screen. You should see something like STORENAME.myshopify.com/admin. ("STORENAME" is an example-- it should be something different depending on how you set up your Shopify account)
* Remove /admin (and anything after it) so you are left with STORENAME.myshopify.com.This is your base Shopify URL.
2) Second, run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.
[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`.
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.
## Learn More
To learn more about Next.js, take a look at the following resources:
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
## Deploy on Vercel
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.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.