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

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.

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/