All Projects → VPetar → vue-auth-boilerplate

VPetar / vue-auth-boilerplate

Licence: MIT license
This is a simple Vue template/starter kit, scaffolded on vue-cli 3, with full Auth functions to Login & Register

Programming Languages

SCSS
7915 projects
Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-auth-boilerplate

Wordpress Starter
📦 A starter template for WordPress websites
Stars: ✭ 26 (-66.23%)
Mutual labels:  starter-template, starter
Angular Open Source Starter
This is a starter project for creating open-source libraries for Angular. It is a full fledged Angular workspace with demo application and easy library addition. It is designed to be used for open-sourcing libraries on Github and has everything you'd need ready for CI, code coverage, SSR testing, StackBlitz demo deployment and more.
Stars: ✭ 120 (+55.84%)
Mutual labels:  starter-template, starter
Niklick
Rails Versioned API solution template for hipsters! (Ruby, Ruby on Rails, REST API, GraphQL, Docker, RSpec, Devise, Postgress DB)
Stars: ✭ 39 (-49.35%)
Mutual labels:  starter-template, starter
Pug Starter
Simple pug (jade) starter [framework] enabling faster delivery of HTML & CSS projects to a private server and/or automatic deployment of GitHub pages.
Stars: ✭ 328 (+325.97%)
Mutual labels:  starter-template, starter
modern-webpack-starter
🏰 A modern JavaScript starter using Webpack 4. Made in a simple way - good for learning or starting a new project without having to rollout cli-auto-builders.
Stars: ✭ 42 (-45.45%)
Mutual labels:  spa, starter
Asp Net Core Vue Starter
ASP.NET Core + Vue.js starter project
Stars: ✭ 436 (+466.23%)
Mutual labels:  starter-template, starter
Bootstrap 4 Sass Gulp 4 Boilerplate
A Bootstrap 4.5.2 boilerplate with font-awesome, sass, gulp 4 tasks
Stars: ✭ 103 (+33.77%)
Mutual labels:  starter-template, starter
Kotlin Android Mvp Starter
Create/Generate your kotlin MVP projects easily
Stars: ✭ 270 (+250.65%)
Mutual labels:  starter-template, starter
example-app
Example app showcasing fulls1z3's Angular libraries
Stars: ✭ 27 (-64.94%)
Mutual labels:  spa, starter
Gatsby Starter Netlify Cms
Example gatsby + netlify cms project
Stars: ✭ 1,932 (+2409.09%)
Mutual labels:  starter-template, starter
Laravel Starter
A CMS like modular starter application project built with Laravel 8.x.
Stars: ✭ 299 (+288.31%)
Mutual labels:  starter-template, starter
Koa Vue Notes Project
🤓 A single repo containing both the koa-vue-notes-api and koa-vue-notes-web projects.
Stars: ✭ 14 (-81.82%)
Mutual labels:  spa, starter
Arkit
ARKit Base Project. Place virtual objects based on WWDC example project
Stars: ✭ 297 (+285.71%)
Mutual labels:  starter-template, starter
Hartija Css Print Framework
Universal CSS for web printing
Stars: ✭ 509 (+561.04%)
Mutual labels:  starter-template, starter
Kotlin Android Mvvm Starter
Android Kotlin Starter is a starter project which implements MVVM Pattern.
Stars: ✭ 276 (+258.44%)
Mutual labels:  starter-template, starter
Sage Starter
Starter for Sage 10 with TailwindCSS and PostCSS
Stars: ✭ 48 (-37.66%)
Mutual labels:  starter-template, starter
template-elm-chrome-extension
A template repository for building a chrome extension with webpack and elm.
Stars: ✭ 16 (-79.22%)
Mutual labels:  starter-template, starter
Vue Electron Template
An Electron & Vue.js template with Hot-reloading enabled and common Vue plugins, dev, debug and build scripts configured.
Stars: ✭ 260 (+237.66%)
Mutual labels:  starter-template, starter
Next Js Blog Boilerplate
🚀 Nextjs Blog Boilerplate is starter code for your blog based on Next framework. ⚡️ Made with Nextjs, TypeScript, ESLint, Prettier, PostCSS, Tailwind CSS.
Stars: ✭ 134 (+74.03%)
Mutual labels:  starter-template, starter
Webpack Starter Basic
A simple webpack starter project for your basic modern web development needs.
Stars: ✭ 552 (+616.88%)
Mutual labels:  spa, starter

Vue Auth Boilerplate

enter image description here enter image description here

This is a starter app / boilerplate for any type of SPA application that you'd want to build with VueJS. If you use, say, Laravel / laravel-api-boilerplate-jwt (a package by # francescomalatesta), you'll feel right at home as it integrates with it's API Auth functions.

Looking for Vue 3 perhaps? Here's the link. :)

Snapshots

Login page

Register page

enter image description here image get's clearer as you enter a more secure password. neat.

Home page

enter image description here enter image description here

vue-cli 3

For scaffolding of this app, vue-cli 3 has been used, meaning, you get to use latest vue-cli 3 features, like plugins.

UIkit

It would seem that UIkit CSS framework doesn't get as much attention as it deserves. I believe it's one of the most complete frameworks out there, fun to use, awesome when you master it. This boilerplate is built with UIKit, but you don't need to use it if you don't want to. Login and Register pages are self-contained, and contain their own style, just for this reason.

If you want to change and use Bootstrap:

npm remove uikit --save
npm install bootstrap --save

Also don't forget to cleanup main.js file.

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Run your unit tests

Tests are not really written, but you can use Jest built-in into this boilerplate. Pull requests are welcome, as well. :)

npm run test:unit

Additional settings

Please visit /src/settings.js and change the params there to suite your app. It's kinda important since API_SERVER will be used to contact Auth functions of your API.

APP_NAME:  "Pure Awesomeness",
API_SERVER:  "http://192.168.10.10/api/"

File structure

This is pretty much the default file structure that you get from scaffolding app from vue-cli 3, added stuff to suit the needs of the boilerplate.

.
|____.browserslistrc
|____.eslintrc.js
|____.gitignore
|____babel.config.js
|____jest.config.js
|____LICENSE
|____package-lock.json
|____package.json
|____postcss.config.js
|____public
| |____favicon.ico
| |____index.html
| |____js
| | |____imagesloaded.pkgd.min.js
| | |____zxcvbn.js
|____README.md
|____src
| |____App.vue
| |____components
| | |____globals
| | | |____ButtonSpinner
| | | | |____index.vue
| |____main.js
| |____router
| | |____index.js
| |____settings.js
| |____store
| | |____actions
| | | |____auth.js
| | | |____user.js
| | |____index.js
| | |____modules
| | | |____auth.js
| | | |____settings.js
| | | |____user.js
| |____styles
| | |____index.scss
| | |_____variables.scss
| |____utils
| | |____api.js
| |____views
| | |____auth
| | | |____login
| | | | |____img
| | | | | |____login.jpg
| | | | |____index.vue
| | | |____register
| | | | |____img
| | | | | |____register.jpg
| | | | |____index.vue
| | | |____styles
| | | | |____auth-styles.scss
| | |____home
| | | |____index.vue
| | |____layouts
| | | |____App
| | | | |____index.vue
|____tests
| |____unit
| | |____.eslintrc.js
| | |____HelloWorld.spec.js
|____vue.config.js

Credits

Mainly credits go to codrops/PasswordStrengthVisualization. This repo literally inspired me to make a nice Auth SPA with Vue and share it with the world.

If you like this package, please star it, fork it, I'm open for pull requests as well if I missed something.

LICENSE

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].