Skip to content

An app for tracking job applications; created by drawing an Entity-Relationship diagram, mapping it to the relational model, making a use-case diagram. Backend uses MVC architecture with authentication using JWT token, Brevo email handling, Multer file uploading.

Notifications You must be signed in to change notification settings

prempreetbrar/ApliTrack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ApliTrack

ApliTrack is a Job Application Tracking System (JATS) that aims to ease the burden of managing job applications for busy University students who find themselves applying to tens or hundreds of jobs, often due to limited professional experience and a highly competitive job market. With ApliTrack, applicants are able to manage the most relevant information pertaining to their job applications in one comprehensive solution, keeping track of components like the applications themselves, the jobs and companies they apply to, the documents they submit, the interviews and offers they receive, as well as any of their contacts who may be relevant to the jobs they apply to.

To create ApliTrack, the group followed the database design and implementation process from start to finish. First, an initial proposal and set of broad requirements was created to establish the purpose and general functionality of the web application. Then, an enhanced entity relationship diagram with 13 entities (EERD) was created to convey all components of the application, more clearly illustrating the information that would be stored in the database and the resulting functionality that could be reasonably expected. Once the EERD was complete, it was mapped to a relational model (RM) that more closely resembled the underlying database structure that is used in the back-end of the application.

Enhanced Entity Relationship Diagram

image  

Relational Model Diagram

image  

Use Case Diagram

image

Sequence Diagram

image

Signup

Users will be warned if passwords do not match or if a user already exists with the provided username. Note that a welcome email is sent upon registration.  

Signup

Login

Login

Forgot Password

Users will be warned if passwords do not match or if a user already exists with the provided username. Note that a welcome email is sent upon registration.  

ForgotPassword

Profile

Account Info

Applicants can update personal information or their password by pressing the corresponding Update button on the right.  

AccountInfo

Career Info

Applicants can then add Experiences, Projects, Certifications, Skills, and Competitions by populating the corresponding empty fields in the Profile page.  

AddCareerInfo  

Applicants can then edit the Experiences and Projects entries as these have titles and descriptions. Entries can be edited by clicking the Pencil icon, after which a pop-up will appear.  

EditCareerInfo

  Applicants can also delete any entries by clicking the Bin icon for Experiences and Projects, or clicking the X for Certifications, Skills, and Competitions. For Experiences and Projects, a confirmation box will pop up, while Certifications, Skills, and Competitions entries will be deleted right away, as they are simple entries.  

DeleteCareerInfo

Documents

Add Document

Upon first loading the Documents page, applicants will encounter none of their Documents stored in the system. The page allows applicants to upload documents, provide a Document Type and Description, and upload the file itself.  

AddDocument  

Edit Document

Upon adding a document, each will appear. Applicants are also able to update each document by updating the necessary fields and then pressing the Update button.  

EditDocument  

Delete Document

To delete a document, applicants can press the Bin icon, which will create a confirmation pop-up.  

DeleteDocument  

Searching and Sorting Documents

Applicants can search for document file names. For example, an applicant may search for all file names containing the string “Resume". Applicants can also enhance the search by specifying the sorting order in which to display results. Upon selecting the sorting method, the Search icon on the right must be pressed to execute the search and show the results.  

SortAndSearchDocuments  

Companies and Jobs

Upon first loading the Companies page, applicants will typically encounter previously populated Company entries, as these are shared across all applicants. If the Companies page is blank, that means no applicants have yet added any companies to the system. The idea is that applicants can "work together" by adding companies and jobs to assist each other in the job search.

Adding Company

A new company can be added by filling in the fields, then pressing the Create button to the right.  

AddCompany  

Updating Company

Note that jobs can only be added to existing companies. If a company does not exist and an applicant wishes to add a job, they must add the company to the system first. Any fields for the Company can then be edited and updated with the Update button.  

UpdatingCompany  

Deleting Company or Job (Admin with Delete Permissions Only)

Note that regular applicants cannot delete companies as these are shared across all users; only admins have the permission to delete companies. These routes are protected on the backend (by checking the permission flag on the user) and on the frontend (by not showing the delete button unless the user is an admin).  

DeleteJobAndCompany

Adding Job

AddJob

Adding Qualifications and Responsibilities

With a job added, applicants have the option of adding multiple qualifications and responsibilities to the job, as shown towards the right of the screen. To add these, applicants can simply enter the new qualification and/or responsibility and press the corresponding + icon, as shown below.  

AddQualificationsAndResponsibilities

Deleting Qualifications and Responsibilities

DeletingQualificationsAndResponsibilities

Editing Job

EditJob

Tracking Job

Applicants that may wish to track certain jobs have the option to do so by simply ticking the Track This Job box on the screen. Once the job is being tracked, applicants can enter information specific to tracking, such as a target date to apply and any notes, and then press the Update button to save that information.  

TrackingJob

Searching Companies and Jobs

Applicants are able to search the Companies page by Company Names and/or the application deadlines, as shown below. For example, searching for Amazon will bring up the Amazon company and its corresponding jobs. Alternatively, applicants can enter just the application deadline dates to search by jobs that match the date(s) criteria. This is useful if you are looking for jobs by a certain company and/or want to see all jobs that fall within a certain deadline.  

https://github.com/prempreetbrar/ApliTrack/assets/89614923/9968bd3d-dcfb-44fa-9a80-abc9069264dd

Tracking Filter

Alternatively, can only display jobs that they are personally tracking in the system. The Tracking filter will apply automatically, while sorting will only be applied once the search Icon is pressed, like it was for regular searching above. Note that if the Tracking filter is selected, all companies will still be displayed (if there is no company search applied), but only tracked jobs will display under each company. This means that if an applicant does not track any jobs from a specific company, it will appear as if the company has no jobs posted for it in the system. The tracking allows the applicant to mark only those jobs that are relevant to them and easily search for their tracked or "marked" jobs.  

TrackingFilter

Applications

Users can add, edit, or delete their own applications. For existing applications, applicants can add even more details by specifying categories for each application, relevant URLs, specific documents submitted for each application, and the job(s) that the application corresponds to. Categories and Relevant URLs are custom and can thus be entered into their fields as shown below.

 

Application  

To add submitted documents and jobs to the application, the documents and jobs must already exist in the database, as the adding is done using dropdown menus that only show existing options! This is done to minimize keyboard input (providing for a better use experience) and preventing errors from users entering in documents and/or jobs that do not exist. For each job, applicants can also add specific URLs relevant to the job itself that may not appear in the Companies page. Once Documents and Corresponding jobs have been added, they will appear and can be hovered over to show the full text. These entries can also be deleted by simply pressing the X icon.

Search Applications

With applicants needing to handle tens or even hundreds of applications, they can easily search for applications by name, status, and category using the search bar at the top of the page. For example, searching for Status “Submitted” will return applications where the searched text is included in the Status field, as shown below. Searching by Name and/or Category will yield results using those categories.  

ApplicationSearch

Contacts

Upon first loading the Contacts page, applicants will typically encounter previously populated Contact entries, as these are shared across all applicants. Applicants can add or update contacts.  

Contact

Delete Contact (Restricted to Admin With Delete Permission Only)

 

DeleteContact

Contact Works At

Next, applicants can also specify which companies each contact works at using the Works At field, which contains a dropdown showing existing companies in the database. Applicants are able to choose a company and specify the specific role that the contact holds at that company, as shown below, and then add the entry by pressing the + icon on the right.  

WorksAt

Contact is Known

With many contacts in the system, applicants can further specify whether they personally know a particular contact by selecting the ‘I know this person!’ checkbox, which will then provide additional fields for the applicant to fill in. This is extremely beneficial because it allows an applicant to sift through the thousands of contacts (hypothetically) in the system and mark which ones they know personally. They can then filter to only show contacts they know using a switch at the top of the page.  

Know

Referrals

Finally, applicants are also able to specify whether the contacts they know have provided any referrals, and if so, then for which existing job in the system. This can be done by filling in the fields and selecting the right Job under Referral(s), as shown below. Once added, a referral appears and can be edited by editing any of the fields and pressing the Update button. Additionally, the referral can be deleted by pressing the Bin icon, but only after confirming the deletion in a pop-up, as shown below.  

Referrals

Interviews

An interview can be added by filling in the fields under ‘Add New Interview’, then pressing Create. Note that while Stage and Date take any input from the user, the Application field is a dropdown menu that displays the applicant’s existing applications in the system.

Existing interviews can then be supplemented with additional information, like any Contacts who are stored in the system who are attending the interview, as well as the specific jobs that the interview is related to. These can be selected in their corresponding dropdown menus that display entries that already exist in the application. Once added, attending contacts and mentioned jobs appear. Note that each can be hovered over to display the full text.

Note that if duplicate items are attempted to be added by the applicant, they will see an error pop up informing them of this.  

Interviews

Search and Sort Interviews

SearchAndSortInterviews

Offers

An offer can be added by filling in the fields to the right of Create Offer. Note that the Job field is a dropdown that only allows for selection of jobs already in the system. Additionally, applicants are able to upload their job offer files to the system using the rightmost field.  

Offers

Searching and Sorting Offers

If applicants have multiple offers to decide between, they are able to easily search and compare offers by using the various search options provided, including searching by lowest and highest compensation, earliest and latest response deadline, and earliest and latest start date.  

SearchAndSortOffers

Users (Admin)

Upon loading the user page (which admins can only access) the admins will be able to see a list of users that currently exist on the system/database. From here they are able to update user’s first and last names, activate and deactivate their accounts, change their permission levels and reset their passwords. They can even create or delete users from the database. Admins also have the option to search for users using their first or last names.  

Admin

Logged Out Views (Contacts and Companies)

Finally, users who are not logged in are able to view the Contacts and Companies pages, as these entries are public and not specific to any particular applicants. However, since the users are not logged in, they are unable to make any additions or updates to the data in the system, as these actions require users to be logged in. Below are the sample views for the Contacts and Companies pages, as seen by a logged-out user or a user with no existing account.  

LoggedOutViews

Mobile and Tablet Views

Since our group spends considerable time on mobile or tablet devices, we had an incentive to make our application compatible with both mobile and tablet screen sizes. See below both mobile and tablet views.

Profile, Documents, Applications, Offers (Mobile and Tablet Views)

MobileAndTablet

Interviews, Contacts, Companies (Mobile and Tablet Views)

MobileAndTablet2

Users (Mobile and Tablet Views)

MobileAndTablet3

Features (Languages/Technologies Used: TypeScript, React.js, Node.js, Express, SQLite, Sequelize, Pug.js)

  • Uses a REST API with an MVC backend architecture that supports filtering, sorting, PROPER authentication with JWT (token must be valid, not expired, the user's password has not changed, and the user is not inactive) and authorization
  • Has INCREDIBLY strong error handling with a generic "catch all" error handler that reduces code duplication and distinguishes between different types of errors
  • Deals with unhandled rejections and exceptions
  • Supports creation of new users by storing encrypted passwords in database; allows user to change password and reset it if it is forgotten via Brevo email handling
  • A proper data model derived from an Enhanced Entity Relationship Diagram which was then mapped to the Relational Model; the corresponding tables from the relational model were implemented in Sequelize using SQLite as the underlying DBMS.
  • Factory functions reduce code duplication in controllers and views
  • Email templating created Pug.js, with blocks used to reduce code duplication and HTML data sets used to transfer data. A snackbar is shown whenever there is ANY error, so the user is never left surprised as to what is happening. A success snackbar is shown to give feedback when an operation is successful.
  • Custom file uploading using Multer, with file names and paths stored in the database; the actual file is kept on the file system, and a special suffix is added to ensure we can distnguish between two files that otherwise have the same name.  

Limitations/Design Choices

  • The backend has lots of code reuse and little duplication, however, the frontend has considerable duplication. The team was focused on completing the project before the deadline and decided to "jump in" to frontend development without planning beforehand. In the future, we would plan out the frontend design BEFORE we start coding. It may take a few extra hours upfront, but it would considerably speed up development time.
  • TypeScript was used albeit sparingly; some group members were not familiar with TypeScript, so explicit annotations were not used to prevent confusion. TypeScript was used only for type inference (which still helped us catch tons of errors).
  • The EERD models admins and applicants as being disjoint; however, the current system implementation allows admins to perform all actions allowed by applicants, therefore modeling them as overlapping. This change was made to simplify the backend while maintaining the desired functionality.
  • Sequelize was unable to correctly process and implement foreign keys that reference composite primary keys. This proved to be an issue only for weak entities that were previously defined with composite keys and which were then referenced by other relations in the database. To address this, weak entities that were affected by the issue were instead given a new primary key in the form of a unique auto-assigned and incremented integer ID, enabling them to have a single primary key that can be referenced. However, to ensure that the original functionality was preserved, attributes that previously comprised the composite key were assigned unique tags, ensuring that the combination of these attributes is unique for any instance in the relation, thereby mimicking the functionality of a composite primary key. This change was applied to the following entities in the database: Interview, Document, Application, Job
  • The developer table was deemed redundant because a developer’s and admin's permissions and abilities are normally managed in the GitHub repository, NOT in the application itself. This table was not created in the final application.
  • Some rest API routes are created in the backend (and fully functional), but have no corresponding frontend. Specifically, the routes relating to AdminResponsibility (which was deemed redundant as PermissionLevel could easily capture this info), DeveloperType, Specialization, and Admin Abilities (which is instead determined by the routes to which the admin has access, NOT the database itself).
  • Additional columns not present in the EERD or the Relational Model may be seen in the application; some of these are to deal with Sequelize constraints regarding referencing composite primary keys. Others are to aid with functionality from our Use Case diagram that was not originally conceived during the EERD phase. For example, the user has PasswordLastChangedAt, PasswordResetToken, and PasswordResetExpires columns (to help with authentication and password changing, forgetting, and resetting functionality in the application).
  • Initially, the group settled on using MySQL, but swapped to SQLite because connection to MySQL and synchronization (not to mention preventing race conditions) proved to be difficult.

 

Running it Locally

1. Install NVM: https://github.com/nvm-sh/nvm  

NVMInstallation

2. Install Node and NPM: https://github.com/nvm-sh/nvm  

NodeANDNPMInstallation

***If you performed the above downloads using VSCode's terminal, restart VSCode so that it can "know" about these installations.

3. To Confirm Installation Do:

node -v
npm -v

ConfirmingInstallation

4. Clone the GitHub Repo: CloningRepo

5. Run the Server:

cd ApliTrack/server
npm install
npm run start:dev

RunServer



You can view the database's contents in the server folder by clicking on the database cpsc471.sqlite. Ensure you have the SQLite Viewer extension installed in VSCode.  

ViewDatabase

6. Run the Client:

*IMPORTANT: You must run the client in a new terminal, so that the server and client can run simultaneously.

cd ApliTrack/client
npm install
npm run start:dev

When prompted with Would you like to run the app on another port instead? › (Y/n) type in y.  

Client

7. Interact with the Application in Your Browser! Interact

About

An app for tracking job applications; created by drawing an Entity-Relationship diagram, mapping it to the relational model, making a use-case diagram. Backend uses MVC architecture with authentication using JWT token, Brevo email handling, Multer file uploading.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages