https://github.com/nshimiye/time-shop
At our dream store, we sell time.
https://github.com/nshimiye/time-shop
calendar reactjs tutorial
Last synced: 8 months ago
JSON representation
At our dream store, we sell time.
- Host: GitHub
- URL: https://github.com/nshimiye/time-shop
- Owner: nshimiye
- Created: 2018-11-15T02:22:44.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-11-30T23:04:57.000Z (over 7 years ago)
- Last Synced: 2025-03-28T00:41:33.315Z (about 1 year ago)
- Topics: calendar, reactjs, tutorial
- Language: JavaScript
- Size: 146 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Time Shop
At our dream store, we sell time.
We have a site where customer can specify time when they want to come buy.
Then on the same site, we view and assign someone who can service this customer at his/her chosen time.
# Design
* Site uses websockets to update a calendar in realtime.
* We plan to use `redux` to store info about specified times and their validity.
```sh
npm install -S -E redux react-redux
npm install -S -E redux-thunk
```
We provide 3 basic actions that describe how our info can be managed.
* FETCH_EVENTS: allows us to fetch customer times from our system.
* ADD_EVENTS: allow us to add all fetched times into redux store.
* ASSIGN_SERVICE_HOST: allows us to assign someone for the chosen time.
We use a nodejs server with `server-sent events` mechanism to push customer chosen times to the site.
* source: https://www.html5rocks.com/en/tutorials/eventsource/basics/