medifle / fresh-tracks

A custom-built serverless application built in Vue.js to demonstrate multiple SaaS integrations into AWS with EventBridge.

Home Page:https://myfreshtracks.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fresh Tracks

An event driven serverless web application built in Vue.js. This example app allows you to upload .gpx files to view your tracked activities. Try it out at MyFreshTracks.com

ℹ️ set up and deployment time is approximately 10 mins.

ℹ️ This application uses Auth0 to manage and Authenticate users. You must create a demo app in Auth0 before you can login, or deploy the backend resources. See "Authentication - Auth0" below.

Fresh Tracks

Deploying the front-end application locally:

  • Clone the repo onto your local development machine:
git clone
  • cd into the root directoy and run:
npm install
  • Run the application locally:
npm run serve

Deploying the backend application

This application uses many AWS services to power the backend: See this guide to deploy the back end resources and services

Fresh Tracks - Core architecture

Authentication - Auth0

The project needs to be connected to an Auth0 application in order for the authentication flow to work.

  1. Go to Auth0 and click Sign Up.

  2. Register a single page applicaiton

  3. Add your domain (http://localhost:3000, if deploying locally) to the Allowed Callback URLs, Allowed Logout URLs, and Allowed Web Origins in your applicaiton settings.

  4. Configure the front end applicaiton with your Auth0 domain and client ID.

Option 1 (prefered) - use environment variables:

create a .env file in the root directory and provide the following values:

VUE_APP_Auth0_Domain = <YOUR AUTH0 DOMAIN>
VUE_APP_Auth0_ClientId = <YOUR AUTH0 CLIENT ID>
VUE_APP_Auth0_Audience = <API_IDENTIFIER>

Learn about FreshTracks 3P SaaS integrations:

  • Auth0 - Analyse user events to create an Amazon QuickSight
  • Zendesk - An automated self-service Knowledge repository

Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section.

License

This project is licensed under the MIT license. See the LICENSE file for more info.

About

A custom-built serverless application built in Vue.js to demonstrate multiple SaaS integrations into AWS with EventBridge.

https://myfreshtracks.com

License:MIT No Attribution


Languages

Language:Vue 49.6%Language:JavaScript 46.3%Language:HTML 2.8%Language:Dockerfile 0.7%Language:CSS 0.3%Language:Shell 0.2%Language:PowerShell 0.1%