Geekle Demand App
This is the Demand App of the entire Geekle package. It is used to manage the Supply organizations and users.
Main
main.tsx
is where the App starts. We instantiate a new GeekleDemandAppTemplate
with it's options and dependencies; then initialize and render a React App.
Dependencies
The dependencies are services and API's needed for the Demand App.
authApi
: The auth API for authenticationcatalogApi
: The Catalog API service for the jobs created by organizationchatApi
: Chat API for messaging between organizations and userschatSocketApi
: Web sockets for chatorderApi
: Order API service for job applicationsorganizationApi
: The organization API servicesessionService
: The service which handles the session managementuserApi
: The user API service
Opts
The options for the Demand App.
Block Pages
The blockPages
option is one of the main options. Here are the components used for the Demand site:
-
createRedirect
: Simple redirect to the top index page- Settings
options
: Navigation options for the redirectto
: Name of theblockPage
to redirect to
- Validators
- None
- Settings
-
createSections
: My Page landing page sections- Settings
components
: An array of components to display on the landing pagecreateMyPageJobActivity
: Displays call to action buttons to user's job activities- Settings
orderListRoute
: Route to order/job applications page
- Settings
createNewProductsList
: List of latest products/jobs- Settings
catalogApi
: The Catalog API service for the jobs created by organizationnumberOfProducts
: Number of products/jobs to displayproductRoute
: Product/job details pageshowSubtitle
: Display the subtitletitleAlignment
: Title alignment
- Settings
- Validators
emailVerified
: Checks if user's email has been verifiedisLoggedIn
: When the user is not logged in, it redirects to the landing pagesignUpWizardCompleted
: Checks if sign up wizard has been completed
- Settings
-
createSections
: Landing page sections- Settings
components
: An array of components to display on the landing pagecreateLandingHero
: Landing page hero section- Settings
byline
: ReactNode component to display the byline textimageUrl
: Image URL for the hero sectionshowSecondaryText
: Boolean to display secondary textshowTertiaryText
: Boolean to display tertiary textsignupRoute
: The sign up page route
- Settings
createLandingMerits
: Display merit items on landing page- Settings
meritItems
: Merit items to display on the landing pagesignupRoute
: The sign up page route
- Settings
createNewProductsList
: List of latest products/jobs- Settings
catalogApi
: The Catalog API service for the jobs created by organizationnumberOfProducts
: Number of products/jobs to displayproductRoute
: Product/job details pageshowSubtitle
: Display the subtitletitleAlignment
: Title alignment
- Settings
createLandingHowToUse
: How to use section of the landing page- Settings
signupRoute
: The sign up page routestepItems
: Steps on how to use items
- Settings
createLandingFAQ
: FAQ section- Settings
faqItems
: The FAQ items
- Settings
- Validators
emailVerified
: Checks if user's email has been verifiedisNotLoggedIn
: When the user is not logged in, it redirects to the 'my page' pagesignUpWizardCompleted
: Checks if sign up wizard has been completed
- Settings
-
createLogin
: THe login form- Settings
alreadyVerifiedRoute
: Route to page when user is logged in and verifiedauthApi
: The Authentication API serviceshowSignupLink
: The link to sign up pageuserApi
: The User API service
- Validators
- None
- Settings
-
createResetPasswordRequest
: Email form to request password reset- Settings
userApi
: The User API service
- Validators
- None
- Settings
-
createResetPasswordSubmit
: Reset password form- Settings
passwordValidateStrategy
: The strategy to validate the passworduserApi
: The User API service
- Validators
- None
- Settings
-
createResetPasswordSuccess
: Simple page after successful password reset- Settings
userApi
: The User API service
- Validators
- None
- Settings
-
createLogout
: Logout page- Settings
authApi
: The Authentication API servicelogoutRedirect
: Page to redirect to upon logging out
- Validators
- None
- Settings
-
createSignUp
: The sign up form page- Settings
alreadyVerifiedRoute
: Route to page when user is logged in and verifiedauthApi
: The Authentication API servicehomeRoute
: Route to home pagepasswordValidateStrategy
: The strategy to validate the passwordprivacyPolicyUrl
: The URL of the private policy pageuserAgreementUrl
: The URL of the user agreement pageuserApi
: The User API service
- Validators
- None
- Settings
-
createVerifyEmailSuccess
:- Settings
userApi
: The User API serviceverifiedRoute
: Route to the page upon email verify
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createWizard
: Wizard page for user create- Settings
pages
: The pages of the wizard- Settings
createWizardBaseInfo
: Basic info for the wizardcreateWizardCategorySelect
: Select job type page- Settings:
catalogApi
: The Catalog API service for the jobs created by organization
- Settings:
createWizardCategoryExperience
: Select job experience page- Settings:
catalogApi
: The Catalog API service for the jobs created by organization
- Settings:
createWizardAttributeItemsSelect
: Select skills- Settings:
attributeName
: The name of the attribute to retrieve fromcatalogApi
: The Catalog API service for the jobs created by organization
- Settings:
createWizardDesiredCompensation
: Select desired compensationcreateGeekleInitialWizardSubmit
: Submit wizard- Settings:
userApi
: The User API service
- Settings:
- Settings
- Validators
signUpWizardCompleted
: Checks if sign up wizard has been completed
- Settings
-
createProductSearch
: Search page for product/jobs- Settings
catalogApi
: The Catalog API service for the jobs created by organizationfilterProductsRoute
: Route to the page for applying filtersnumberOfProductsPerPage
: Number of products per pageproductRoute
: Route to product/job details page
- Validators
- None
- Settings
-
createProductFilter
: Filter jobs page- Settings
attributeName
: The name of the attribute to retrieve fromcatalogApi
: The Catalog API service for the jobs created by organizationsearchProductsRoute
: Route to search products/jobs page
- Validators
- None
- Settings
-
createProductDetailsPageForDemand
: Products/jobs details page for the demand site- Settings
catalogApi
: The Catalog API service for the jobs created by organizationorderApi
: Order API service for job applicationsorganizationShowRoute
: Route to the organization/company details pageuserApi
: The User API service
- Validators
- None
- Settings
-
createMyOrdersListPage
: List of user's orders page- Settings
orderApi
: Order API service for job applicationsproductRoute
: The product page route
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createOrganizationDetailsPage
: Organization/company details page- Settings
catalogApi
: The Catalog API service for the jobs created by organizationorganizationApi
: The organization API serviceorganizationListRoute
: Route to list of organizations/companies
- Validators
- None
- Settings
-
createOrganizationJobPositionsListPage
: List of the organization/company's jobs- Settings
catalogApi
: The Catalog API service for the jobs created by organizationorganizationApi
: The organization API serviceorganizationShowRoute
: Route to the organization/company details pageproductRoute
: The product page route
- Validators
- None
- Settings
-
createListTopicsForUserBlock
: Topics list for the user- Settings
chatApi
: Chat API for messaging between organizations and userschatShowRoute
: Route to chats pagesocketApi
: Web sockets for chat
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createListMessagesForTopicBlock
: List of messages for each topic- Settings
chatApi
: Chat API for messaging between organizations and usersorganizationApi
: The organization API serviceorganizationShowRoute
: Route to the organization/company details pagesocketApi
: Web sockets for chat
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createGroupedSettingsPage
: Settings page- Settings
changeEmailRoute
: Route to change emailchangePasswordRoute
: Route to change passworddeactivateAccountRoute
: Route to deactivate accountuserApi
: The User API service
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createChangeEmail
: User settings to edit their email- Settings
cancelRoute
: The page to go to upon cancelling settings updatesuccessRoute
: The page to go to upon successful settings updateuserApi
: The User API service
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createVerifyChangeEmailSuccess
: Success page when updating email address- Settings
userApi
: The User API serviceverifiedRoute
: Page to go to upon verification
- Validators
- None
- Settings
-
createChangePassword
:- Settings
cancelRoute
: The page to go to upon cancelling password changesuccessRoute
: The page to go to upon successful password changeforgotPasswordUrl
: Forget password URLuserApi
: The User API service
- Validators
isLoggedIn
: When the user is not logged in, it redirects to the login page
- Settings
-
createDeactivateAccount
: Account deactivation page- Settings
successRoute
: The page to go to upon successful account deactivationuserApi
: The User API service
- Validators
- None
- Settings
-
createDeactivateSuccessAccount
: Account deactivation success page- Settings
successRoute
: Route to success
- Validators
- None
- Settings