Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
/ fresh-tracks Public archive

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

License

Notifications You must be signed in to change notification settings

aws-samples/fresh-tracks

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.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages