talent-find

1.0.0 • Public • Published

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

  1. Download vs code
  2. clone the repo
  3. create a branch from doh-dev branch
    git checkout doh-dev
    git checkout -b your_dev_branch
  1. use the following naming conventions to name your branch
    1. Create a gitlab issue and get issue number
    2. Name the branch like issue/<issue_number>
  2. cd frontend
  3. ensure that .env.development file points to the staging url VUE_APP_BASE_URL=https://ohr-staging.screel.in/api/v1
  4. yarn install
  5. yarn serve
  6. Now your dev setup should be ready and you should be able to access the app at http://localhost:8080
  7. The backend will be provided by https://ohr-staging.screel.in
  8. Backend is already setup to allow CORS for port localhost:8080, if you run it on other ports you will face CORS issue
  9. We use VueJs, here are some resources you may find useful to get started with vue
    1. https://www.vuemastery.com/courses/intro-to-vue-js/vue-instance
    2. https://vuex.vuejs.org/
  10. We use the free admin template provided by core-ui, so use the CoreUi components for building the UI elements
    1. https://coreui.io/vue/docs/3.0/
    2. https://coreui.io/vue/demo/3.0-beta.1/#/dashboard
    3. https://github.com/coreui/coreui-free-vue-admin-template
  11. The code is organized like shown below
    1. src/components - has resusable Vue Components
    2. containers - this folder has the components used in page
    3. pages - this folder contains the vue template that uses components from containers and builds the final page that are rendered under a url
    4. router - has routing logic, also supports access control
    5. modules - has files related to vuex state
    6. custom styles can be added in _custom.scss
  12. Do your changes in your own branch, test it locally and then commit your changes.
  13. Create a Merge request in gitlab
  14. After review your changes will be deployed in staging https://ohr-staging.screel.in
  15. After testing in staging, the changes will be migrated to production

Readme

Keywords

none

Package Sidebar

Install

npm i talent-find

Homepage

coreui.io

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

50.9 MB

Total Files

1039

Last publish

Collaborators

  • technoconsulting