- Introduction
- Accessing the Application
- Setup
- Component Documentation
- How to Contribute to the Project
IMPORTANT: Credit where credit is due. This app is the end product of the amazing work put in by the participants in our latest Internship program – showing off their amazing technical skills, but also ability to truly cooperate and collaborate!
GatherApp is a platform aimed at enabling companies to create, encourage, and nurture an environment where employees can create and share social events. This empowers employees to have greater control over their work-life balance by distinguishing work-related priorities from other social events.
Users can create various types of events, such as online events for a select group of colleagues or on-site company events for all employees. This document pertains to the front-end part of the GatherApp project.
The back-end part of this project can be found here.
To access the frontend:
- Set up the backend with .NET.
- Create an Azure Enterprise application if Single Sign-On (SSO) is used.
- Update the necessary information in a
.env
file with the following variables:REACT_APP_API_BASE_URL
: URL of the backend API, typicallylocalhost:7003
for local development.REACT_APP_REDIRECT_URL
: URL where the application is hosted, default islocalhost:3000
or your personal domain.REACT_APP_CLIENT_ID
: Client ID obtained from Azure enterprise details for Microsoft SSO and Graph API access.REACT_APP_AUTHORITY
: URL of the identity provider for user authentication and token issuance.REACT_APP_PLACEHOLDER_EVENT_BANNER_URL
: URL to a default banner image.
- Optionally, create a
.env.local
file for local API and REDIRECT URLs. - Ensure users have the necessary roles set up in the Azure Portal for application access.
To start the application:
- Ensure Node.js and npm are installed.
- Open the terminal and run:
npm install npm start
The way we can access the component documentation is with Storybook, which isolates our components so we can test them and add comments on what that specific component does. To run, just type in
npm run storybook
To contribute to the project:
- Fork this repository.
- Clone your forked repository.
- Make your changes.
- Commit and push your changes.
- Create a pull request.
- Star this repository.
- Wait for the pull request to be merged.