https://github.com/atinux/nuxt-moltin
Nuxt.js with Moltin
https://github.com/atinux/nuxt-moltin
Last synced: 10 months ago
JSON representation
Nuxt.js with Moltin
- Host: GitHub
- URL: https://github.com/atinux/nuxt-moltin
- Owner: atinux
- Created: 2018-04-16T12:44:56.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-16T14:59:29.000Z (over 7 years ago)
- Last Synced: 2025-03-17T15:12:54.288Z (10 months ago)
- Language: JavaScript
- Size: 293 KB
- Stars: 7
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt.js demo store
> 🛍 Nuxt.js demo store built with moltin
[](https://deploy.now.sh/?repo=https://github.com/Atinux/nuxt-moltin&env=MOLTIN_CLIENT_ID&env=STRIPE_KEY)
Next.js webshop built using [Stripe checkout](https://stripe.com/checkout) and [moltin](https://moltin.com).
Check out the [demo](https://moltin.nuxtjs.org).
## 🛠 Configuration
Both a moltin and Stripe account are needed for this store to run successfully.
Create a `.env` file at the project root with your moltin `client_id` and Stripe test `publishable key`.
```dosini
MOLTIN_CLIENT_ID=
STRIPE_KEY=
```
## Build Setup
``` bash
# install dependencies
$ yarn install
# serve with hot reload at localhost:3000
$ yarn run dev
# build for production and launch server
$ yarn run build
$ yarn start
```
For detailed explanation on how things work, checkout [Nuxt.js docs](https://nuxtjs.org).