An open API service indexing awesome lists of open source software.

https://github.com/junior/mushop-storefront

MuShop - Cloud Native microservices demo - Storefront service
https://github.com/junior/mushop-storefront

Last synced: 21 days ago
JSON representation

MuShop - Cloud Native microservices demo - Storefront service

Awesome Lists containing this project

README

          

# MuShop Storefront

Responsive eCommerce storefront single page application built on microservices
architecture.

- Built using [UIkit](https://getuikit.com)

## Overview

### Technologies

The project leverages:

- [UIkit](https://getuikit.com) UI components
- [axios](https://www.npmjs.com/package/axios) Http client
- [core-js](https://www.npmjs.com/package/core-js) ESNext features
- [Pug](https://pugjs.org)
- [Less](http://lesscss.org)
- [Gulp](https://gulpjs.com)

## Quick start

### Dependencies

| Name | Version |
|-------------------------------------|---------|
| [Docker](https://docker.com). | >= 1.12 |
| [Make](http://www.gnu.org/s/make) | >= 3.81 |

### Local

```shell
# start dependent microservices
make services

# start storefront
npm install
npm start
```

### Docker

```shell
# start storefront and all service layers
make up
```

### Shutdown

```shell
# stop all services
make down
```

## Build

Standard build

```shell
docker build -t mushop/storefront .
```

The storefront also supports **BETA** build option where an override to the
service semver can be provided as a build argument. When the supplied version
matches `/beta/i`, a banner is shown in the storefront UI. This is used for the
purpose of demonstrating service mesh

```shell
docker build --build-arg version=2.x-beta -t mushop/storefront .
```

## Credits

- Storefront based on templates by [Roman Chekurov](https://github.com/chekromul/uikit-ecommerce-template)

## License

This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.