/Quasar-node-userAuth-template

This is a user authentication template created using Quasar, vue3 and nodejs. It features user registration, login, logout routes alongside functions and additional routes to handle JWT token authorization. **WIP

Primary LanguageJavaScript

Login System (login-system)

This is a user authentication template created using Quasar, vue3 and nodejs. It features user registration, login, logout routes alongside functions and additional routes to handle JWT token authorization. Requires all dependencies as well as a filled out .env file.

Env format:

ENV = "DEV" 
# or prod above, I use it to differentiate environments for annoying CORs issues on local dev
PORT = 3000
# whatever you want
ACCESS_TOKEN_SECRET = yoursecrethere
REFRESH_TOKEN_SECRET = yoursecrethere
DB_HOST = "yourHostHere"
DB_NAME = "yourDbNameHere"
DB_USER = "yourSqlUser"
DB_PASSWORD = "yourSqlPw"
MAILER_USER = "yourmaileruser"
MAILER_PASSWORD = "yourmailerpw"
RESET_TOKEN_SECRET = yourresetsecret
OWNER_EMAIL = "owner email"

Install the dependencies

yarn
# or
npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

quasar dev

Lint the files

yarn lint
# or
npm run lint

Format the files

yarn format
# or
npm run format

Build the app for production

quasar build

Customize the configuration

See Configuring quasar.config.js.