This repository contains the source code for the JobBoard application. JobBoard is a platform designed to help users find job listings and post job offers. This README provides information on mock data, login credentials, and engineering decisions made during development.
Mock data is used to simulate interactions with the application and ensure that features work as expected without requiring a live backend.
The mock data for job listings includes the following fields:
- id: Unique identifier for the job.
- title: Job title.
- description: Detailed job description.
- salary: Object containing
amount
andcurrency
. - tags: Array of tags associated with the job (e.g., ['Angular', 'Java']).
Example:
{
"id": "job_1",
"title": "Frontend Developer",
"description": "We are looking for a skilled Frontend Developer with experience in Vue.js.",
"tags": ["Vue.js", "JavaScript", "HTML", "CSS"],
"created": 1694073600000,
"salary": {
"amount": 60000,
"currency": "USD"
},
"employerId": "user_1"
}
Mock user data is used to simulate authentication and authorization, example:
{
"id": "user_1",
"username": "employer1",
"type": "employer",
"email": "[email protected]",
"password": "password123"
}
Vuex: Used for global state management. The store includes modules for authentication, job listings, and user data.
Vue Router: Configured to handle different views and authentication routes.
npm install
npm run serve
npm run build
You can access the deployed version of the JobBoard application at the following link: