https://github.com/work-design/rails_event
Plan、Booking something
https://github.com/work-design/rails_event
Last synced: about 1 year ago
JSON representation
Plan、Booking something
- Host: GitHub
- URL: https://github.com/work-design/rails_event
- Owner: work-design
- License: mit
- Created: 2018-03-23T06:21:23.000Z (over 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T09:40:07.000Z (over 1 year ago)
- Last Synced: 2025-04-06T13:48:07.134Z (about 1 year ago)
- Language: Ruby
- Homepage:
- Size: 754 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RailsEvent
[](https://github.com/work-design/rails_event/actions/workflows/test.yml)
[](https://github.com/work-design/rails_event/actions/workflows/cd.yml)
[](https://github.com/work-design/rails_event/actions/workflows/gempush.yml)
RailsEvent 用于处理基于事件、地点、参与人的业务,如:活动举办、课程。
## 说明
预约模型由以下几部分组成:
* 事件,对应 model: Event
* 时间与地点,对应 model: Plan
* 人物,对应model: PlanParticipant(crowd)
当上述配置完成之后,会根据时间的配置信息(如何按每周、每月等重复),生成具体的数据如下:
* PlanItem:具体的事件发生的时间(date + time_item_id),地点(place)
* PlanAttender(出席人): 具体的事件里的参与人,PlanItem + PlanCrowd
## Installation
```
yarn add moment
yarn add moment-timezone
yarn add @fullcalendar/core
yarn add @fullcalendar/daygrid
yarn add @fullcalendar/timegrid
```
## 许可
本项目遵循 [MIT](LICENSE) 协议