This is the front end repository for the rewritten project Connectd. Connectd is a personal CRM (customer relationship manager) web application, created with React, Express framework, and MongoDB. The original project is documented at: Confluence - Connectd CRM
-
Frontend repository is located at: Frontend Repository
-
Backend repository is located at: Backend Repository
-
Frontend URL: Heroku - connectd-front
-
Backend URL: Heroku - connectdcrm
The front-end application is a single page web application written by ReactJS & material UI framework. It aims to help the user manage their connections & tasks.
Pre-requirement:
- Node version of at least 10.
- A package manager, npm or yarn.
- A code editor (optional).
- Modern browser.
Steps:
- Pull the backend repository from GitHub
- You may use command
git clone <repo>if you haven’t cloned the repository before - Or simply run
git pullto fetch the latest commit
- You may use command
- Make sure you’ve already installed
yarn - Open a terminal window at the folder root directory
- Check current path using
pwdcommand - You should see a directory path like
.../COMP30022-Frontend
- Check current path using
- Run command
yarnto install all dependencies required for frontend - Run command
yarn startto run yarn frontend server,- By default, server will run on port
3000
- By default, server will run on port
- The application will start running, and a web page will be shown in your default browser.
- Open the project in code editor, make any changes you want. (Optional)
React
react is a both declarative & component-based library.
Declarative: Design simple views for each state in your application, and React will efficiently update and render just the right components when your data changescomponent-based: Build encapsulated components that manage their own state, then compose them to make complex UIs
MaterialUI
MaterialUI provides a robust, customizable, and accessible library of foundational and advanced components, enabling you to build your own design system and develop React applications faster
App Structure
| Package | Version | Notes |
|---|---|---|
| yarn | 1.22.17 | Package manager |
| react | 17.0.2 | Web framework for frontend |
| react-dom | 17.0.2 | Serve as the entry point to the DOM and server renderers for React |
| react-window | 1.8.6 | Render part of a large data set, improve performance |
| react-scripts | 4.0.3 | Include scripts and configuration used by Create React App |
| react-router-dom | 5.3.0 | DOM bindings for React Router |
| material-ui | 4.12.3 | Enable material UI |
| axios | 0.22.0 | Fetch data from backend APP using AJAX |
| kendo-react-scheduler | 4.9.0 | Calendar library |
Node official website: https://nodejs.org/en/
VSCode official website: https://code.visualstudio.com/
Heroku official website: https://www.heroku.com/
Git official website: https://git-scm.com/
materialUI official website(V4): https://v4.mui.com/getting-started/usage/

