{"repo":"dashersw/stack","free":true,"listed":false,"github":"https://github.com/dashersw/stack","clone":"git clone https://github.com/dashersw/stack.git","description":"A starter repository for MongoDB, Node.js, and Vue.js, with a local environment based on Docker.","language":"Vue","stars":61,"topics":["docker","mongodb","vuejs","vuejs3","nodejs","starter-kit","starter-template"],"license":"MIT","category":"saas-starters-boilerplates","readme_excerpt":"stack(MEVN Stack) A starter repository for MongoDB, Node.js, and Vue.js, with a local environment based on Docker. Technologies used: - Backend - Node.js - Express - MongoDB - Mongoose - Jest - ESLint - Prettier - Husky - Lint-staged - Docker - Frontend - Vue.js - Pinia - Vite - ESLint - Prettier - Husky - DB - MongoDB - Mongoose - UML Diagram Generation - PlantUML Installation Running the stack Accessing the stack from a browser The starter stack works with a load balancer that binds to ports 80 and 443. It currently serves the domain http://stack.localhost. In order to reach the frontend through the stack, you need to edit your hosts file (usually under /etc/hosts in UNIX environments and C:\\Windows\\System32\\Drivers\\etc\\hosts in Windows) and add the following line: Now if you visit http://stack.localhost, you will be greeted with the frontend starter project. Changing the local domain If you wish to use a domain name other than http://stack.localhost, simply set the environment variable DOMAIN to any domain you want. You then also need to update your hosts file accordingly. Debugging You can debug the backend while it's running in VSCode. Instead of running docker-compose up , run the following command: This starts the backend service in the debug mode, so you can use the built-in debug task Attach to backend to debug your backend service. Running tests Running backend tests Running frontend tests Linting Run npm install on the root folder and it will set up a pre-commit ho","default_branch":null,"files":null,"tree":[],"storefront":"/r/dashersw","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dashersw/stack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}