No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
custom_types
public
views
.eslintrc.js
.gitignore
.travis.yml
Procfile
README.md
app.js
config.js
package-lock.json
package.json
prismic-configuration.js

README.md

Sample eCommerce Website with API-based CMS

This is a sample Node.js eCommerce website with content managed with prismic.io (API-based CMS).

Getting started

Read this guide for instructions to create your repository and use this sample eCommerce site.

Deploy your Node.js website

An easy way to deploy your Node.js website is to use Heroku. Just follow these few simple steps once you have successfully signed up and installed the Heroku toolbelt:

Create a new Heroku application

$ heroku create

Initialize a new Git repository:

$ git init
$ heroku git:remote -a your-heroku-app-name

Commit your code to the Git repository and deploy it to Heroku:

$ git add .
$ git commit -am "make it better"
$ git push heroku master

Ensure you have at least one node running:

$ heroku ps:scale web=1

You can now browse your application online:

$ heroku open

Licence

This software is licensed under the Apache 2 license, quoted below.

Copyright 2017 Prismic.io (http://www.prismic.io).

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this project except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.