This project is an example of the Single Page Web application with React components tailored for the Webcodesk
- Used libs: PrimeReact
- Search tags on the market:
PrimeReact
,To-Do_List
,FullCalendar
- Url on the market: prime_faces_react_todo_sample
- Live demo: prime-faces-react-todo-sample.firebaseapp.com;
- clone this project:
git clone https://github.com/ipselon/prime_faces_react_todo_sample.git
- install dependencies in the project's directory:
yarn install
- open project's directory in Webcodesk
- open project's source in the favorite IDE.
Read about how to open project's source in IDE in Documentation
- Run Webcodesk, create new JavaScript project, and open
Market
- Find
Absolute_Layouts
components:LeftSideSplitterLayout
,RightSideSplitterLayout
,TopToolbarLayout
- Install each of them into
layouts
directory
- Close
Market
and find installed components in thelayouts
dir.
- Open
Market
again
- Find
ToDo_List
components
- Install each of them into
todo
directory
- Close
Market
and find newly installed components
- Double click on the
main
page
- Open
Structure
in the page editor and drag and dropTopToolbarLayout
to the root element on the page
- Drag and drop
LeftSideSplitterLayout
tocontent
, andToDoMenuBar
totop
- Drag and drop
ToDoList
toleft
, andToDoCalendar
toright
- Drag and drop
ToDoAddDialog
toaddNewItemDialog
, and click theSave
button
- Double click on the
start
flow, drag and dropinitApplication
into the flow editor, and connectApplication
withinitApplication
- Open the
main
page branch, drag and droptoDoCalendar
andtoDoList
into the flow editor, and connect them withinitApplication
- Click on the
plus
icon. Createadd_new_todo_item
flow.
- Drop
toDoCalendar
onto theApplication
element. AddstartAddNewToDoItem
, and twotoDoAddDialog
to the flow. Connect them all as shown on the picture.
- Add
stopAddNewToDoItem
, andtoDoAddDialog
to the flow. Connect them.
- Add
addNewToDoItem
,stopAddNewToDoItem
,toDoAddDialog
,toDoList
, andtoDoCalendar
to the flow. Connect them all as shown on the picture.
- Create new flow:
toggle_todo_item
- Set
toDoList
instead ofApplication
(drop on it), then addtoggleToDoItemDone
,toDoCalendar
, and againtoDoList
to the flow. Connect them all as shown on the picture.
- Create new flow:
delete_todo_item
- Set
toDoList
instead ofApplication
, then adddeleteToDoItem
,toDoCalendar
, and againtoDoList
to the flow. Connect them all as shown on the picture.
- Create new flow:
select_todo_item_in_list
- Set
toDoList
instead ofApplication
, then addselectListItem
,toDoCalendar
, and againtoDoList
to the flow. Connect them all as shown on the picture.
- Create new flow:
select_todo_item_in_calendar
- Set
toDoCalendar
instead ofApplication
, then addselectCalendarEvent
,toDoCalendar
, andtoDoList
to the flow. Connect them all as shown on the picture.
- Create new flow:
change_todo_item_in_calendar
- Set
toDoCalendar
instead ofApplication
, then addchangeCalendarEvent
,toDoCalendar
, andtoDoList
to the flow. Connect them all as shown on the picture.
- Create new flow:
toggle_filter_in_list
- Set
toDoList
instead ofApplication
, then addsaveListFilter
,getEvents
,toDoCalendar
, and twotoDoList
to the flow. Connect them all as shown on the picture.
- Open
Live Preview
tab and play with the ToDo list and the FullCalendar.
- You can build the application bundle from the command line. Go to the project's directory, and run in the command line following command:
yarn build
After the build process is finished successfully, you can find the application bundle in the build
folder.