Skip to content

x1B/shop-demo

 
 

Repository files navigation

LaxarJS ShopDemo Build Status

The LaxarJS ShopDemo shows a simple web shop application (for ordering LaxarJS merchandise) implemented using the LaxarJS web application framework.

It consists of a small set of LaxarJS widgets implemented in AngularJS. Storage is realised using PouchDB.

Running the ShopDemo

To fetch the required tools and libraries, make sure that you have npm (comes with NodeJS) installed on your machine.

Use a shell to issue the following commands:

git clone --single-branch --recursive https://github.com/LaxarJS/shop-demo.git
cd shop-demo
npm install
npm start

Afterwards, open the demo at http://localhost:8000/debug.html.

Next Steps

For an optimized version more suitable for production, stop the server (using Ctrl-C) and run:

npm run optimize
npm start

Now you can browse the optimized demo at http://localhost:8000/index.html.

Instead of using grunt start, you can use any web server on your machine by having it serve the shop-demo directory.

Try modifying the widgets under includes/widgets/shop-demo to get a feel for how a LaxarJS application works.

Read the tutorial to get further information about the LaxarJS techniques.

About

A demo app to show how LaxarJS works

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 72.1%
  • JavaScript 17.6%
  • HTML 9.7%
  • Ruby 0.6%