A custom-built serverless application built in Vue.js to demonstrate multiple SaaS integrations into AWS with EventBridge.
- 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
The project needs to be connected to an Auth0 application in order for the authentication flow to work.
- Go to Auth0 and click Sign Up.
- Register a single page applicaiton
- Add
http://localhost:3000
to theAllowed Callback URLs
,Allowed Logout URLs
, andAllowed Web Origins
in your applicaiton settings. - You must configure the front end applicaiton with your Auth0 domain and client ID.
You can do this in 1 of 2 ways:
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>
To do this alter the /src/auth/auth_config.json file with your Auth0 credentials:
{
"domain": "<YOUR AUTH0 DOMAIN>",
"clientId": "<YOUR AUTH0 CLIENT ID>",
"audience": "<API_IDENTIFIER>"
}
Then in /src/main.js
:
- uncomment
import { domain,clientId,audience } from "./auth/auth_config.json";
- comment out:
var domain = process.env.VUE_APP_Auth0_Domain
var clientId = process.env.VUE_APP_Auth0_ClientId
var audience = process.env.VUE_APP_Auth0_Audience
FreshTracks uses Zendesk's Web Widget to provide a curated self service knowldge repository.
In order to configure this for your own Zendesk account you'll need to replace the Zendesk widget script located in public/index.html
with your own Zendesk web widget script. to locate this:
In your Zendesk Dashboard:
- Click the Admin icon in the sidebar, then select Channels > Widget.
- Click the Setup tab, if it is not already selected.
- Under the code box, click Copy to clipboard.
- Paste this into
public/index.html
, replacing the existing script.
Some further customizations have been made in /src/components/NavBar.vue
.
These include the insertion of a custom form, delared by the form ID. You can use your own custom forms here:
See this guide to deploy the back end resources and services
If you have found a bug or if you have a feature request, please report them at this repository issues section.
This project is licensed under the MIT license. See the LICENSE file for more info.