GithubHelp home page GithubHelp logo

amportugal / vue Goto Github PK

View Code? Open in Web Editor NEW

This project forked from weareopensource/vue

0.0 0.0 0.0 146.19 MB

:computer: Vue - Boilerplate Front : Vue 3, Vuex, Vuetify 3, JWT, Jest (Beta)

Home Page: https://weareopensource.me

License: Other

Shell 0.95% JavaScript 34.59% Vue 63.99% Dockerfile 0.47%

vue's Introduction

CI Code Climate Dependabot badge Known Vulnerabilities Docker Pulls

๐ŸŒ WeAreOpenSource Vue 3 - Beta

๐Ÿ“– Presentation

This project is a Vue 3 stack that can be ran as a standalone FrontEnd. Or in a fullstack with another repo of your choice (ex: Node, Swift).

Quick links :

Our stack Vue is actually in Beta.

๐Ÿ’ป Vue 3 / Vuetify 3 / Jwt

๐Ÿ“ฆ Technology Overview

Subject Informations
Available
Architecture Layered Architecture : everything is separated in layers, and the upper layers are abstractions of the lower ones, that's why every layer should only reference the immediate lower layer (vertical modules architecture)
Security JWT Stateless - have a look on Node stack for more informations
CI Github Action
Linter ESLint ecmaVersion 10 (2019)
Developer Coveralls - Code Climate - Dependency status - Dependabot - Snyk
standard-version / semantic-release - commitlint - commitizen - @weareopensource/conventional-changelog
Dependencies npm
Deliver Docker & Docker-compose
Being released
Testing Jest WIP
In reflexion
WIP wip

๐ŸŽ‰ Features Overview

Core

  • User : classic register / auth

Examples

  • Tasks : list - add - edit - delete
  • Mails Subscriptions : add

๐Ÿ“Œ Prerequisites

Make sure you have installed all of the following prerequisites on your development machine:

๐Ÿ’ฅ Installation

It's straightforward (you can use yarn if you want)

git clone https://github.com/weareopensource/vue.git && cd Vue
npm install -g @vue/[email protected]
npm i

๐Ÿƒ Running Your Application

Development

  • npm start to run a dev server with hot-reloads. Available at http://localhost:8080/.

/!\ in order to launch Vue with our node stack, node need to accept CORS. You can specify it in config or like it WAOS_NODE_cors_origin=['http://localhost:8080'] npm start when you starting node.

Production

  • npm run build to build a prod server.

others

  • vue:serve : npm vue:serve -> be careful, this bypass config generation of the stack
  • vue:build : npm vue:build -> be careful, this bypass config generation of the stack
  • test : npm test
  • test e2e : npm run test:e2e
  • test unit : npm run test:unit
  • lint : npm run lint
  • commit : npm run commit
  • release : npm run release -- --first-release standard version, changelog, tag & choose version number : -- --release-as 1.1.1
  • release:auto : GITHUB_TOKEN=XXXXX npm run release:auto semantic release, changelog, tag, release require repositoryUrl conf in package.json
  • generateConfig : npm run generateConfig

๐Ÿณ Docker Way

docker

  • docker run --rm -p 8080:80 weareopensource/vue

if you want to build yourself : docker build -t weareopensource/vue . --build-arg WAOS_VUE_api_port=4000

docker-compose (example with Node stack as api)

  • docker-compose up

Configuration

The default configuration is : src/config/defaults/development.js The other configurations : src/config/defaults/*.js overwrite the default configuration, you can create your own.

We take into account all system environment variables defined under the form WAOSVUE<path_toVariable>. A pre-build npm script turns under the hood those system environment variables into an object, infering paths from the varialbles name, merged to the configuration defined on src/config/defaults to regenerate the file used src/config/index.js.

So configuration avalable on src/config/defaults/development file are overidable. You can for instance define the app name by defining those system environment variables :

WAOS_VUE_app_title='my app =)'

โœ๏ธ Contribute

๐Ÿ“œ History

This work is based on MEAN.js and more precisely on a fork of the developers named Riess.js. The work being stopped we wished to take it back, we want to create updated stack with same mindset "simple", "easy to use". The toolbox needed to start projects, but not only with Node and Angular ...

We dreams to create stacks Backs / Fronts, aligns on feats & Architecture, in multiple languages. This to allow anyone to create fullstack on demand (VueJS, Node, Swift โ€ฆ) and keep updates. While exploring resilient and scalable deployment, as well as growth hacking via our articles.

Feel free to help us ! :)

๐Ÿ“‹ Licence

Packagist

๐Ÿ”— Links

Blog Slack Discord Mail

vue's People

Contributors

dependabot[bot] avatar pierrebrisorgueil avatar dependabot-preview[bot] avatar snyk-bot avatar semantic-release-bot avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.