Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/s-rb/japan-cafe

Demo project for Japan cafe React web site
https://github.com/s-rb/japan-cafe

demo react

Last synced: 24 days ago
JSON representation

Demo project for Japan cafe React web site

Awesome Lists containing this project

README

        

# React application for the Japan cafe website

React application for the Japan cafe website made for study ReactJS purpose

![screenshot](src/assets/JapanCafe.png)

## Technologies:
- Javascript language
- ReactJS library
- Html, CSS

## Features:
- You can add items to the cart
- Price recalculates
- Modal window for the cart and checkout

---

### How to use github actions publishing:
- run `npm install gh-pages --save-dev`
- add to package.json: `"homepage": "https://.github.io/"`
- add to package.json:
```json
"scripts": {
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
}
```
- run `npm run deploy`
- this will create branch `gh-pages` in remote repo with built files
- then try to go to your homepage for the project
- don't forget to set your repo (public + actions is on etc)

---

#### Demo is [here: (VPS)](http://japan-cafe.surkoff.com) or [here (Github pages)](https://s-rb.github.io/japan-cafe)