Skip to content

amunchet/vue3-auth0-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-auth0-quickstart

Quickstart scaffold template for Vue + Auth0

Summary

This quickstart template creates a basic Vue application with Auth0 already implemented. It will also run npm update on creation.

Requirements

Make sure that Docker and python are installed on the base. Docker-compose is created by default, but not required.

Installation

  1. Clone this repository git clone https://github.com/amunchet/vue-auth0-quickstart.git
  2. cd vue-auth0-quickstart
  3. ./setup.py (or python setup.py)
  4. Follow the prompts.
  5. Enjoy.

Usage

This is meant to be used as a starting point for a larger Vue project. You will likely change the docker configuration, endpoint, and packages.

The two key files are auth.js and authService.js - they are they keys to intergation with Auth0.

The file project_name/entrypoint.sh is the Docker entrypoint. Remove npm update or the Vue UI server here.

Typical Next Steps

Next steps in using the quickstart with the rest of your project could be something like this (assuming you cloned vue-auth0-quickstart into your larger project):

  1. cat docker-compose.yml >> ../docker-compose.yml # You will need to edit docker-compose.yml after this
  2. mv frontend ..
  3. cd .. && rm -rf vue-auth0-quickstart

About

Vue3 + Auth0 Scaffold Project Template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published