Skip to content

lcharleslaing/create-sveltekit-auth0

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to create-sveltekit-auth0 👋

Version Documentation Maintenance License: MIT

A CLI tool to add Auth0 to you Sveltekit Project

Install

npx create-sveltekit-auth0

Dependency Install

Auto installs npm install @auth0/auth0-spa-js Auto installs npm install

CLI Questions

Enter the CLI questions whhich will create a new NEW-README.md that has more detail than the svelte generated one. It can be used in place of the Svelte generated one or simply delete it. The required files will be added to your project.

Created Directories/Files

  1. Created directories (if they don't already exist)
    1. ./src/lib/auth
    2. ./src/lib/components
  2. Created files or if they exist, they will be prepended to.
    1. NEW-README.md
    2. RENAME.env
    3. auth0_config.js
    4. auth0_service.js
    5. authStore.js
    6. NavbarAuth0.svelte
    7. SveltekitAuth0.svelte
    8. __layout.svelte

Todo's after CLI install

  1. Rename RENAME.env to .env or copy contents to existing .env
  2. Edit .env variables with your Auth0 account credentials
  3. Rename NEW-README.md to README.md or copy desired contents to existing README.md
  4. npm run dev
  5. Style the Login & Logout Buttons anyway you'd like.
  6. Enjoy the creating and if you have any issues, visit my github repo and create an issue.

Author

👤 Lee Charles Laing big2tinydev@gmail.com

🤝 Contributing

Contributions, issues and feature requests are welcome!

Feel free to check issues page.

Show your support 🍵 or 🥪 = 😁😊

Give a ⭐️ if this project helped you out made life just a tiny bit easier!

I'd be super grateful if you felt like buying me a "Coffee🍵or Sandwich🥪"

📝 License

Copy-Right/Copy-Claim 2022 :Lee-Charles :Laing: big2tinydev@gmail.com.

This project is MIT licensed.


This README was generated with ❤️ by readme-md-generator

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published