Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/InCuca/vue-loopback
A Vue project template with Loopback framework optionally with Vuex, Vue-router, and Auth boilerplaite
https://github.com/InCuca/vue-loopback
bootstrap-vue bootstrap4 gulp jest loopback vue vue-loopback vue-router vuejs vuejs-templates vuex
Last synced: about 1 month ago
JSON representation
A Vue project template with Loopback framework optionally with Vuex, Vue-router, and Auth boilerplaite
- Host: GitHub
- URL: https://github.com/InCuca/vue-loopback
- Owner: InCuca
- License: mit
- Created: 2017-10-22T22:58:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-11-28T16:58:57.000Z (over 5 years ago)
- Last Synced: 2024-01-08T08:50:48.449Z (5 months ago)
- Topics: bootstrap-vue, bootstrap4, gulp, jest, loopback, vue, vue-loopback, vue-router, vuejs, vuejs-templates, vuex
- Language: JavaScript
- Homepage:
- Size: 262 KB
- Stars: 51
- Watchers: 8
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Lists
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
- awesome-vue - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue. - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback ★43 - Loopback and Vue application template (Integrations / Payment)
- awesome-vue - vue-loopback - Loopback and Vue application template (Components & Libraries / Integrations)
README
# vue-loopback
[![Travis](https://img.shields.io/travis/InCuca/vue-loopback/master.svg)](https://travis-ci.org/InCuca/vue-loopback/branches)A Vue project template with [Loopback](http://loopback.io/) framework featuring ES6, Gulp, and Jest for unit tests
> This template is for Vue 2.x **only** with [vue-cli](https://github.com/vuejs/vue-cli).
## Features
* Loopback service using [axios](https://github.com/axios/axios) at `client/services/loopback`;
* Full authentication support, by default the account listed in `server/initial-data/maintenance-account.json` is created;
* Ajax Async queue module in `client/modules/async` (useful to see if and how many requests are being made to the server);
* [CSS Modules](https://github.com/css-modules/css-modules), [Sass](https://sass-lang.com/) and [Bootstrap Vue](https://bootstrap-vue.js.org).
## Usage```
$ npm install -g vue-cli
$ vue init InCuca/vue-loopback project-name
$ npm install
```## Folder structure
1. `client`: Vue client files
2. `common`: Common client and server model files
3. `server`: Loopback server files
4. `test`: Unit test## Linting
```
$ npm run lint
```## Testing
```
$ npm test
```## Running the development server (API and Client)
```
$ npm run dev
```## Debug
```
$ DEBUG=loopback npm run dev
```[More info...](https://loopback.io/doc/en/lb3/Setting-debug-strings.html)
## Build to ./build
```
$ npm run build
```## Executing built files
Please remember to update `server/*.production.json` files to match your enviroment.
```bash
$ cd build
$ npm run start
```