amunchet / vue3-auth0-quickstart

Vue3 + Auth0 Scaffold Project Template

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Vue 48.2%Language:Python 20.6%Language:TypeScript 14.4%Language:CSS 8.8%Language:JavaScript 3.0%Language:Dockerfile 1.8%Language:HTML 1.2%Language:Vim Snippet 1.0%Language:Shell 0.9%