The bare minimum skeleton you need to get a frontend up and running on the headless ecommerce & GraphQL based product Information Management service Crystallize. React commerce with Next.js SSR.
This frontend boilerplate is a great startingpoing when building React ecommerce experiences with frontend performance in focus. You can have rich ecommerce content with the super structured PIM engine in Crystallize powering your product catalogue.
Fast frontend performance delivers a better ecommerce experience and is a key ingredient in the ecommerce SEO checklist. Rich content driven ecommerce experiences builds the foundation for a content strategy for exponential growth marketing.
Check it out, the boilerplate is Open Source and MIT licensed.
- Clone the repo or download from the releases page
- Run
npm install
to install dependencies - Run
npm run dev
to start up -
- The site should be ready at http://localhost:5000
- (Optional) Install Editor config and Prettier plugin for your editor
Put all your entry pages here
All your shared components
UI related components live her. Color variables and simple shared components
This is where the ultra-light frontend server lives. Its primary function is to render the React app in response to a request
Library code to enable GraphQL and REST API communication and more
Resources server statically by the web server. Including translation files
There are multiple alternatives for deployments, however for the easiest hosting of a Node application, one option is Now.
- Register a Now account
- Run
npm run global add now
- Navigate to your project folder
- Run
now