{"id":18171385,"url":"https://github.com/samuelnovaes/vue-stack","last_synced_at":"2025-04-01T14:32:28.501Z","repository":{"id":96804677,"uuid":"102530182","full_name":"samuelnovaes/vue-stack","owner":"samuelnovaes","description":"Minimalistic Boilerplate for FullStack Express and Vue.js applications","archived":false,"fork":false,"pushed_at":"2019-04-20T15:12:27.000Z","size":1904,"stargazers_count":26,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T16:09:23.390Z","etag":null,"topics":["axios","boilerplate","express","fullstack","mevn","node","nodejs","nuxt","server","stack","vue","vuejs","vuetify"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samuelnovaes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-09-05T21:10:39.000Z","updated_at":"2024-01-17T09:25:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"1e451f1d-7dcc-4cdc-b2b2-dbcd367b8522","html_url":"https://github.com/samuelnovaes/vue-stack","commit_stats":{"total_commits":54,"total_committers":1,"mean_commits":54.0,"dds":0.0,"last_synced_commit":"d0eb3df2b6faac247b6a35973bdc9c51cc2904cc"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelnovaes%2Fvue-stack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelnovaes%2Fvue-stack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelnovaes%2Fvue-stack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samuelnovaes%2Fvue-stack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samuelnovaes","download_url":"https://codeload.github.com/samuelnovaes/vue-stack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246604610,"owners_count":20804100,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["axios","boilerplate","express","fullstack","mevn","node","nodejs","nuxt","server","stack","vue","vuejs","vuetify"],"created_at":"2024-11-02T15:08:50.771Z","updated_at":"2025-04-01T14:32:28.235Z","avatar_url":"https://github.com/samuelnovaes.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue-stack\nMinimalistic Boilerplate for FullStack Express and Vue.js applications with PWA support.\n\n\u003e To understand how this boilerplate works, see the [Nuxt.js documentation](https://nuxtjs.org).\n\n## Installation\n\n```sh\ngit clone https://github.com/samuelnovaes/vue-stack.git\ncd vue-stack\nnpm install\nnpm run dev\n```\n\n## Express API (With hot reload in dev mode!)\n\nThere is a `api` directory with the Express API. Each route is mapped to `/api`.\n\u003e `BodyParser` is included by default.\n\n### Example\n\napi/index.js\n\n```javascript\nconst router = require('express').Router()\n\n// GET /api/greeting\nrouter.get('/greeting', (req, res) =\u003e {\n\tconsole.log('Hello World!')\n})\n\nmodule.exports = router\n```\n\n## Index.js file\n\nThe index.js file is responsible for starting the Express application. The `vueStack(app, port)` function starts the application on a specific port.\n\n```javascript\nconst express = require('express')\nconst vueStack = require('./vue-stack')\nconst app = express()\n\nvueStack(app, process.env.PORT || 3000)\n```\n\nThe `vueStack` function returns a Promise.\n\n## PWA\n\nBy default, Vue Stack generates a PWA application en production mode. You can customize its manifest and icons in nuxt.config.js\n\n## Commands\n\nCommand | Description\n--- | ---\nnpm run dev | Launch a development server on localhost:3000 with hot-reloading.\nnpm run build | Build your application with webpack and minify the JS \u0026 CSS (for production).\nnpm start | Start the server in production mode (after running nuxt build).\nnpm run generate | Build the application and generate every route as a HTML file (used for static hosting).\n\n## Using Docker\n\n```\n# docker build -t [IMAGE_NAME] .\n# docker run -d --name [CONTAINER_NAME] -p [PORT]:3000 [IMAGE_NAME]\n```\n\n## See more\n\n- [Node.js](https://nodejs.org)\n- [ExpressJS](http://expressjs.com)\n- [Vue.js](http://vuejs.org)\n- [Nuxt.js](https://nuxtjs.org)\n- [Nuxt PWA](https://pwa.nuxtjs.org)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelnovaes%2Fvue-stack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamuelnovaes%2Fvue-stack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamuelnovaes%2Fvue-stack/lists"}