Great Deal! Get Instant $10 FREE in Account on First Order + 10% Cashback on Every Order Order Now

So the entire project is to build a planner app but we JUST HAVE TO DO TASK #9 (Screenshot attached), the ideal look should be that of slide 30 (also attached).You can use RedwoodJS, react, google...

1 answer below »
So the entire project is to build a planner app but we JUST HAVE TO DO TASK #9 (Screenshot attached), the ideal look should be that of slide 30 (also attached).
You can use RedwoodJS, react, google calender (must be implemented). This project is a multi-group collaboration and we only have to do 9.

We want to have a built in intergrated calender code that we can use for this project. Please explain in steps as well on how you did the project.

You can refer to this github for ideas:https://github.com/ericz1803/react-google-calendar
Please help us understand.

We really appreciate your help. Thank you.

Answered 2 days After Feb 25, 2023

Solution

Banasree answered on Feb 28 2023
29 Votes
Step 1: Create a new page called "DayView" using the RedwoodJS CLI.
Code:
    yarn rw g page DayView --route="/day/{date:String}"
This will create a new page component in the we
src/pages/ directory called "DayView" and a co
esponding route in the we
src/Routes.js file.
Step 2: In the “DayView” component, import the necessary dependencies and define the component as shown below:
Code:
    
we
src/pages/DayView/DayView.js
import { Calendar, momentLocalizer } from 'react-big-calendar';
import moment from 'moment';
import 'react-big-calenda
li
css
eact-big-calendar.css';
const localizer = momentLocalizer(moment);
const appointments = [
{
title: 'Appointment 1',
start: new Date(2023, 1, 27, 9, 0),
end: new Date(2023, 1, 27, 10, 0),
},
{
title: 'Appointment 2',
start: new Date(2023, 1, 27, 13, 30),
end: new Date(2023, 1, 27, 14, 0),
},
{
title: 'Appointment 3',
start: new Date(2023, 1, 27, 15, 0),
end: new Date(2023, 1, 27, 16, 0),
},
];
const DayView = ({ date }) => {
const events =...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here