- Summary
- Diagrams
- Planning
- MVP
- Extensions
- API Routes
- Endpoints
- Installation Instructions
- Acknowledgements
- Credits
- Licences
- As more employees are added it becomes harder to get an overview of availability and where everyone is working on a given day
- Keeping employee records up to date is time-consuming and error-prone
Rainforest Retail needs tailored solutions to improve the recording and maintenance of employee availability. The current use of paper records within the business requires too many resources and is unproductive. By combining all the physical diaries to be placed on a digital platform we could reduce the number of conflicts and improve overall employee productivity.
We aim to make paper records a thing of the past. Our system specifically identifies the gaps in the data of Rainforest Retail and helps the process of organisation to make things easier for the head office down to the warehouse worker.
- Component Diagram
- Class Diagram
- Entity Relationship Diagram
- Wireframe
- React.js
- React Router DOM
- React Modal
- React Big Calendar
- SpringBoot
- BootStrap
- Create Trello board to track tasks to do, completed tasks, and log errors Trello Board
- Create ERD diagram
- Create UML diagram
- Create Wireframe
- Business Template
- Risk Template
- Retrospective
- Employees can add holidays in the form
- Employees can login and see a rendered user page
- Managers can login and see a page on the navigation bar to oversee there junior members
- Employees can view the holiday list
- Employees can view the holidays of team members on calender page
- Managers approve or reject employees' holiday
- Managers can add an employee form
- Update and Delete functions in the employee holiday list
- Mobile integration - mobile friendly (react-bootstrap)
- Add personal calendar in user - with days remaining counter and days til holiday counter
- Add filter form in holiday list (calendar)
- Form so employees could choose there profile image
- GET all
- GET by EmployeeId (PK)
- POST an employee
- PATCH an employee
- GET by ManagerID (fK)
- DELETE an employee
- GET all
- GET by TeamId (PK)
- POST a team
- Patch team
- DELETE a team
- GET all
- GET by HolidayDataId (PK)
- GET employeeId
- GET TeamId
- POST holidaydata
- PATCH a holidayData
- DELETE holidayData
- Employees to Holidays(One to many relationships)
- Teams to Employees (One to many relationships)
- Status - Pending/ Approved/ Rejected
- Reason - Annual leave/ parental leave/ sick leave/ bereavement leave/other
- Type of Employee - Managers/ Junior
METHOD | Endpoint | Description |
---|---|---|
SHOW | localhost:8080/employees | Returns a list of employees |
GET | localhost:8080/employees/id | Returns details of a specific employee |
PATCH | localhost:8080/employees?grade=manager | Returns all managers |
POST | localhost:8080/employees | Creates a new employee |
DELETE | localhost:8080/employees/id | Deletes an employee |
GET | localhost:8080/employees/login?email=[email protected] | Returns all employees' holidays by giving specific email |
METHOD | Endpoint | Description |
---|---|---|
INDEX | localhost:8080/teams | Returns a list of teams |
SHOW | localhost:8080/teams/id | Returns details of a specific team |
METHOD | Endpoint | Description |
---|---|---|
INDEX | localhost:8080/holidays | Returns a list of holidays of all holidays |
POST | localhost:8080/holidays | Creates a new holiday |
PATCH | localhost:8080/holidays/id | Update a holiday |
DELETE | localhost:8080/holidays/id | Deletes a holiday |
- Install PostgreSQL, POSTICO and POSTMAN.
- in the terminal, clone the repository using the following command:
git clone https://github.com/AdilIqbal95/hr_portal_capstone
- in the terminal, create a PostgreSQL database :
createdb hr_portal
- run the application and use POSTMAN and POSTICO to run the endpoints and view changes to the database
cd frontend
- Install the dependencies
npm install
- Run the frontend using the following command.
npm run dev
Thank you to all the BNTA Technology trainers (and community staff) for supporting our journey in coding over the last three months.
We really could not have achieved any of this without you!
Colin, Zsolt, Anna, Thibyaa, Richard, Fiona, Phil, and Lewis
Name | Github | |
---|---|---|
🌍 | Adil | https://github.com/AdilIqbal95 |
🍓 | Sabah | https://github.com/Sabah-bot |
🍄 | Maria | https://github.com/marias52 |
💕 | Dena | https://github.com/dena-shiranipour |
🎶 | Ghish | https://github.com/Ghishani |