Visitnyhem
Website for cottage rental, built with Vue 3 Compositon API, BulmaCSS and Firebase.
Setup
Standard
- Pull repo: git clone https://github.com/albinronnkvist/visit_nyhem15
- Install packages: npm i
Firebase
Add a .env.local-file with your Firebase-config in the root folder and add the following environment variables:
- VUE_APP_FIREBASE_API_KEY=[your api key]
- VUE_APP_FIREBASE_AUTH_DOMAIN=[your auth domain]
- VUE_APP_FIREBASE_PROJECT_ID=[your project id]
- VUE_APP_FIREBASE_STORAGE_BUCKET=[your storage bucket]
- VUE_APP_FIREBASE_MESSAGING_SENDER_ID=[your messaging sender id]
- VUE_APP_FIREBASE_APP_ID=[your app id]
- VUE_APP_FIREBASE_MEASUREMENT_ID=[your measurement id]
Google Maps
If you want to work with maps, you need to get your own Google Maps API key and add it as an evironment variable:
- VUE_APP_GOOGLE_MAPS_API_KEY=[your Google Maps API key]
Travel planning
Same goes with if you want a travelplanner, you have get your own TrafikLab API key and add it as an evironment variable:
- VUE_APP_TRAFIKLAB_API_KEY=[your TrafikLab API Key]