Skip to content

4d-depot/workPass-application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wrkPass Application

This demo app is built with 4D Qodly Pro and is meant to inspire you or help you kickstart your own project.

Purpose of the Application

wrkPass is an all-in-one telecommuting solution designed to streamline the coordination of remote, hybrid, and onsite work. The application allows employees to declare their work status, schedule meetings that match their availability mode, and maintain fluid communication between teams and managers. It simplifies workforce organization and ensures smooth collaboration across distributed environments.

Dashboard

Main Features

  • Interactive dashboard for viewing and managing work statuses

  • Dedicated pages for creating, viewing, and managing meetings Add meeting

  • Ability for users to declare their current work mode: Remote, Hybrid, or Onsite Status

  • Meeting management with filtering by work status

  • Managers can view and manage their team’s statuses and meetings declare status

  • Employees can view their own status history and related meetings

  • Real-time overview for administrators to monitor organization-wide work modes Teams

  • Secure, role-based access ensuring proper visibility and permissions

How to run

Pre-requisites (4D Software):

Steps to Run the Project

  • Clone or download this repository to your local machine. Need help? See Using GitHub with 4D.
  • Open the project in 4D: Go to File > Open Project (More details here: Open a Project)
  • Open Qodly Studio: Go to Design > Qodly Studio menu
  • Run the application: Click Run to start the server and preview the app in your browser

Configuration & Credentials

This section explains exactly how to wire credentials and test the app (what to create, where to place files, and what the app already provides).

Do I need to create external accounts?

  • Microsoft Teams / Meetings: Yes — to enable automatic meeting creation, the application must be connected to Microsoft Azure / Microsoft Graph.

    • You need to register an application in Azure Active Directory and grant it permission to create Teams meetings on behalf of users or as an application.

    • Example (Microsoft Graph – Teams Meetings)

Where does the app read credentials?

  • Credentials are configured via the Credentials page located in the Settings section.
  • External service keys and secrets are stored and accessed through the database.

How to test Teams meeting locally

Provide Microsoft Graph credentials, then trigger a Teams meeting creation action to test the integration locally.

Test accounts and sample data

  • The app includes a data generator Project/Sources/Classes/data.4dm which creates sample users with known emails and passwords as well as related demo data. You can call it from the UI (home.WebForm) or run ds.generateData() in the server console.
  • To test the login, you can use the following credentials:

Where to find the code for each feature

If you want to change the behavior or appearance of a specific feature, edit the files listed below.

  • Authentication / Login

    • Code: Project/Sources/Classes/DataStore.4dm (method: authentify) — handles login, session privileges and landing page routing.
    • UI: Project/Sources/WebForms/login.WebForm
  • Role-Based Access and Permissions

    • Config: Project/Sources/roles.json (role definitions).
    • Code: Project/Sources/Classes/DataStore.4dm (authentication and access control methods).
  • Microsoft Teams / Meetings Integration

    • UI: Project/Sources/WebForms/credentials.WebForm (credential setup).
    • Code: Project/Sources/Classes/OAuthHandler.4dm (OAuth and API integration for Teams meetings).

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published