talent-find
v1.0.0
Published
TalentFind - Powered by OHR
Downloads
1
Readme
OHR DOH Track
Abu Dhabi’s Health Workforce Management System, a new digital platform that allows clinical staff from across the UAE to volunteer their support or work full or part-time at the emirate’s healthcare sector, by registering online through the portal and highlighting their key skill sets to provide support to the sector’s facilities in the emirate during the COVID-19 outbreak.
Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Prerequisites
You need to install the software and how to install them
Download NodeJS https://nodejs.org/en/ LTS - 12.16.2
[sudo] npm install npm -g
npm i -g @vue/cli
Installing
A step by step series of examples that tell you how to get a development env running
Go to frontend/ folder
npm install
npm run serve
How to setup fronend development
- Download vs code
- clone the repo
- create a branch from doh-dev branch
git checkout doh-dev
git checkout -b your_dev_branch
- use the following naming conventions to name your branch
- Create a gitlab issue and get issue number
- Name the branch like issue/<issue_number>
- cd frontend
- ensure that .env.development file points to the staging url
VUE_APP_BASE_URL=https://ohr-staging.screel.in/api/v1
yarn install
yarn serve
- Now your dev setup should be ready and you should be able to access the app at http://localhost:8080
- The backend will be provided by
https://ohr-staging.screel.in
- Backend is already setup to allow CORS for port localhost:8080, if you run it on other ports you will face CORS issue
- We use VueJs, here are some resources you may find useful to get started with vue
- https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance
- https://vuex.vuejs.org/
- We use the free admin template provided by core-ui, so use the CoreUi components for building the UI elements
- https://coreui.io/vue/docs/3.0/
- https://coreui.io/vue/demo/3.0-beta.1/#/dashboard
- https://github.com/coreui/coreui-free-vue-admin-template
- The code is organized like shown below
- src/components - has resusable Vue Components
- containers - this folder has the components used in page
- pages - this folder contains the vue template that uses components from containers and builds the final page that are rendered under a url
- router - has routing logic, also supports access control
- modules - has files related to vuex state
- custom styles can be added in _custom.scss
- Do your changes in your own branch, test it locally and then commit your changes.
- Create a Merge request in gitlab
- After review your changes will be deployed in staging
https://ohr-staging.screel.in
- After testing in staging, the changes will be migrated to production