GitHub Link

Go to: https://github.com/techfleetworks/Beela-phase-3 for the code

Untitled

<aside> ๐Ÿ‘€ Make sure the Production branch is selected!

</aside>

Setting Up Your Local Environment

Use yarn install to add the Yarn package to allow JavaScript runtime environment. Once itโ€™s installed, you can make changes and see those changes made live by typing yarn dev to the terminal. This will run the project locally at localhost:3000

<aside> โ— Make sure node.js is installed! https://nodejs.org/en/download/

</aside>

<aside> ๐Ÿ”ง If yarn install shows an error, install yarn first with npm install --global yarn and try yarn install again.

For more information on yarn: https://classic.yarnpkg.com/lang/en/docs/install/

</aside>

Folder Structure

Untitled

Important Folders & Files Overview

components

Reusable components that are implemented for Beela, such as buttons, carousels, and input fields.

mockdata

Local JSON files that supports components, such as FAQs, pollination application timeline, and testimonials.

pages

All of Beelaโ€™s pages live here.

<aside> โš ๏ธ The api folder also lives here. APPROACH THE FILES WITH CAUTION. The files are:

public

Images, fonts, .scss , and icons live here.

mockdata

Untitled

mockdata consists of JSON files. It is a text-based way of representing JavaScript object literals, arrays, and scalar data. JSON is relatively easy to read, write, and parse.

The following are mockdata files and the pages it affects:

<aside> ๐Ÿ‘€

</aside>

<aside> ๐Ÿ‘€ pollination-timeline.json: Application deadline in the programmes page. Read about it here:

Application Deadlines

</aside>