Welcome to the Products catalog project!
It is my experiment with Flux application architecture.
Warning! Please note that this project was implemented in early 2015. It is outdated. JS world changed significantly since that time.
- Try HTML5 pushState;
- Try Node.js ORMs with Sequelize;
- Rendering with Jade.
Please build a small Node.js application, that shows a shop page displaying products from a catalog.
- A user should be able to browse a catalog of products, with image, name and item price displayed.
- Products should be grouped into categories. Store should have a filtering capability to filter by a certain category. There are many products and many categories. Each product can belong to multiple categories. Each category can have multiple products.
- Products should belong to a merchant. There are many products and many merchants. Each merchant can have multiple products. Each product can belong to only one merchant.
- Store should be paginated, showing 4 items in a row, 3 rows, with a total of 12 items per page.
You can find the results at online demo.
Before start of the application please check "config/config.json", then execute:
npm install
npm run setup
npm start
- You shouldn't use Node.js server directly in production. It is better to use something like Nginx, PM2 or forever project on your production server.