Skip to content

Open-SGF/portal-to-work-client

Repository files navigation

portal-to-work-client

Prerequisites

  • Node 16.x.x
  • npm 8.x.x

Setup

  • Clone this repo to your machine
    • git clone https://github.com/Open-SGF/portal-to-work-client.git or
    • git clone [email protected]:Open-SGF/portal-to-work-client.git if using ssh authentication
  • Install dependencies with npm
    • npm install
  • Aquire API keys
    • Get a reCaptcha key
    • Get a Google Maps API key -
      • Go to https://console.cloud.google.com/
      • Click on the Navigation menu --> API's and Services --> Library
      • Search Maps Javascript API and click enable
      • Search Places API and click enable
      • APIs & Services ==> Credentials ==> copy API key
      • Click 'edit API key'
      • Under website restrictions add localhost
      • Under API restrictions select 'Restrict key' and select maps javascript API and places API
      • Click the blue save button at the bottom
      • Copy the API from the credentials page
      • Paste the API key in the .env folder within the quotes of VUE_APP_GOOGLE_MAPS_API_KEY=""
    • Contact Ethan Zitting for the Algolia Key
  • Run the project
    • npm run serve
    • Open the url this command provides in the browser
    • From here the command will watch for file changes and auto reload the browser

Contributing

Read our Contributing Guide

Project Resources