/Cezerin2

Cezerin2 is React and Node.js based eCommerce platform. React Shopping Cart. "All In One" App: Cezerin API + Cezerin Storefront + Cezerin Dashboard.

Primary LanguageTypeScriptMIT LicenseMIT

Cezerin is React and Node.js based eCommerce platform. React Shopping Cart.

Cezerin - Ecommerce Progressive Web Apps. Complete Solution.

Cezerin Platform:

  1. Cezerin API - Backend.
  2. Cezerin Store - Frontend.
  3. Cezerin Admin - Dashboard.
  4. Cezerin Client - JavaScript client for Cezerin REST API.

Built with:

  • NodeJS
  • ReactJs
  • Redux
  • ExpressJs
  • Babel
  • WebPack
  • MongoDB

Links

Store

Single-Page Application with React server-side rendering.

SEO Friendly. Google Analytics eCommerce Tracking included.

Online Demo Store - Plusha Theme

Cezerin Store Plusha Theme

Online Demo Store - Default Theme

Cezerin Store Default Theme Cezerin Store Default Theme

Dashboard

Client-side dashboard use JSON Web Token (JWT) to access REST API.

Online Demo Dashboard

Cezerin Dashboard

Docs

Requirements

Documentation

Documentation

Quick Start

On your local machine

If you have installed above requirements,

  1. Download code
  2. Extract code, update config at config folder as you need and run setup.sh on the folder
  3. To setup required mongodb collections you will need to run yarn setup from command line in the folder
On Digitalocean Droplet
  1. Start a basic ubuntu server
  2. Run curl -o- https://raw.githubusercontent.com/Cezerin2/Cezerin2/main/scripts/droplet.sh | bash in the command line
  3. You can update config from config folder as required and restart server by running yarn build and pm2 start process.json

Application Structure

.
├── config                   # Project and build configurations
├── dist                     # Distribution folder
├── locales                  # Text files
├── logs                     # Log files
├── public                   # Static public assets and uploads
│   ├── admin                # Dashboard index.html
│   ├── admin-assets         # Dashboard assets
│   └── content              # Store root folder
|
├── scripts                  # Shell scripts for theme install/export
├── src                      # Application source code
│   ├── admin                # Dashboard application
│   │   └── client           # Client side code
│   ├── api                  # REST API
│   │   └── server           # Server side code
│   ├── store                # Store application
│   |   ├── client             # Client side code
│   |   ├── server             # Server side code
│   |   └── shared             # Universal code
│   └── index.js             # Server application start point
├── theme                    # Theme as a local package
└── process.json             # pm2 process file

NPM Scripts

npm run <script> Description
setup Run Cezerin mongodb setup.
compile Compiles the store to disk (~/dist by default).
compile:watch Compiles the store and theme to disk and watch (~/dist by default).
webpack:admin Assemble admin bundles.
webpack:store Assemble store bundles.
webpack:admin:watch Assemble admin bundles and watch.
webpack:store:watch Assemble store bundles and watch.
theme:install Install theme from /public/.zip
theme:export Zip current theme to /public/.zip
theme:compile Compile theme after modification.
theme:build Refresh theme after modification.
build Compile and assemble bundles.
build:watch Compile and assemble bundles and watch.
lint Check project with eslint.
lint:fix Check and fix project with eslint.
format Format project with prettier.
start:api Start node server.
start:store Start store server.
start Start Cezerin.
watch:api Start node server and watch.

Financial contributions

We also welcome financial contributions in full transparency on our open collective. Anyone can file an expense. If the expense makes sense for the development of the community, it will be "merged" in the ledger of our open collective by the core contributors and the person who filed the expense will be reimbursed.

Credits

Contributors

Thank you to all the people who have already contributed to cezerin2!

Contributing

If you can, please contribute by reporting issues, discussing ideas, or submitting pull requests with patches and new features. We do our best to respond to all issues and pull requests within a day or two, and make patch releases to npm regularly.

Licence

This software is provided free of charge and without restriction under the MIT License