tonilopezortiz78 / nuxt-iam

user management project for nuxt3, We are going to use this as starting point for the transcendmoneytony.com website

Home Page:http://nuxtiam.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

============COMMENTS TONY GET STARTED======== We need a database, we use sudo docker-compose up, that has initially pass is on .env, also db name is on .env. name for db is dbtm, have to be created from 8080 adminer. porst 3306 and 8080 for adminer. also need to create database, call from .env we decided to call it dbtm(database transcend money) npx prisma migrate dev

========= PRODUCTION WEBAPP===== first npm install ssr(must be used to serve api): npm run build npm run start

static: npm run build npm run generate npx serve -l 42003 .output/public

========

nuxt-iam - Nuxt authentication framework

Download from Github NOT npm.

Nuxt IAM, which stands for Nuxt Identity and Access Management, is an authentication and authorization framework for Nuxt that allows you to secure your app with industry best practices. Nuxt IAM, adds authentication and authorization logic to your Nuxt app.

See a fully functional example app.

nuxt-iam-showcase.mp4

Nuxt IAM is a Nuxt app that contains the following authentication and authorization features:

  • ✔️ user registration with email and password
  • ✔️ user login with email and password
  • ✔️ user login/registration with Google
  • ✔️ user password reset
  • ✔️ user dashboard
  • ✔️ user password change
  • ✔️ user profile/account delete
  • ✔️ admin user management
  • ✔️ admin token management

It is a full featured Nuxt 3 app.

For full documentations, go to Nuxt IAM documentation

How it Works

Simply clone the Github repo, fork it, or download it.

Getting Started

Nuxt IAM is a Nuxt application and comes ready to run. All you need to add is a database.

  1. Please install Node if you don't already have it. The recommended Node version is 16.16 or greater
  2. Please install Yarn package manager. (You can also use npm if you like, but we prefer Yarn)
  3. Clone, fork, or download the repo from https://github.com/jeremycoder/nuxt-iam, and navigate to the root directory.
  4. Copy the .env.example file and create a .env file
  5. Run yarn or yarn install.
  6. Add your database information to your .env file. Nuxt IAM curently supports MySQL, but can be modified to support other databases. See Prisma for more information.
  7. Connect your app to your database by running npx prisma migrate dev. Name your migration initial_migration or something similar
  8. Run yarn dev, and you're good to go!

More configuration is required if you need to send emails and use Google authentication.

Learn more about how Nuxt IAM works by looking at the concepts.

Check out the sample app here: https://nuxt-iam.vercel.app/iam/

For documentation: https://nuxt-iam.vercel.app/iam/docs

About

user management project for nuxt3, We are going to use this as starting point for the transcendmoneytony.com website

http://nuxtiam.com


Languages

Language:Vue 59.9%Language:TypeScript 39.9%Language:CSS 0.2%