All Projects → dashersw → stack

dashersw / stack

Licence: MIT License
A starter repository for MongoDB, Node.js, and Vue.js, with a local environment based on Docker.

Programming Languages

javascript
184084 projects - #8 most used programming language
Vue
7211 projects
HTML
75241 projects
Dockerfile
14818 projects
Pug
443 projects
SCSS
7915 projects
CSS
56736 projects

Projects that are alternatives of or similar to stack

laravel-startkit
Laravel Admin Dashboard, Admin Template with Frontend Template, for scalable Laravel projects. It is to save your time when You start with new scalable Laravel projects with many features Bootstrap, cooreui, infyom admin Generator, roles and permissions, translatable models, spatie media and much more
Stars: ✭ 55 (+14.58%)
Mutual labels:  starter-template, starter-kit
botfuel-sample-starter
Starter bot using Botfuel Dialog
Stars: ✭ 24 (-50%)
Mutual labels:  starter-template, starter-kit
react-admin
基于React + ant-design的用作后台管理项目的脚手架
Stars: ✭ 96 (+100%)
Mutual labels:  starter-template, starter-kit
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 (+179.17%)
Mutual labels:  starter-template, starter-kit
example-typescript-package
Example TypeScript Package ready to be published on npm & Tutorial / Instruction / Workflow for 2021
Stars: ✭ 71 (+47.92%)
Mutual labels:  starter-template, starter-kit
Minwiz
Minimal starter kit for under 2 KB sites
Stars: ✭ 228 (+375%)
Mutual labels:  starter-template, starter-kit
materializecss starter
A Starter Boilerplate for Materializecss, ionicons, font-awesome and Animatecss
Stars: ✭ 58 (+20.83%)
Mutual labels:  starter-template, starter-kit
Kotlin Mpp Standard
A standard setup for Kotlin multiplatform projects.
Stars: ✭ 92 (+91.67%)
Mutual labels:  starter-template, starter-kit
run-aspnetcore-basics retired
One Solution - One Project for web application development with Asp.Net Core & EF.Core. Only one web application project which used aspnetcore components; razor pages, middlewares, dependency injection, configuration, logging. To create websites with minimum implementation of asp.net core based on HTML5, CSS, and JavaScript. You can use this boi…
Stars: ✭ 15 (-68.75%)
Mutual labels:  starter-template, starter-kit
nodejs-hackathon-boilerplate-starter-kit
Just a Hackaton/Startup Full-stack node.js starter
Stars: ✭ 37 (-22.92%)
Mutual labels:  starter-template, starter-kit
Webpack Typescript Starter
A simple Webpack 2 + TypeScript starter
Stars: ✭ 117 (+143.75%)
Mutual labels:  starter-template, starter-kit
enlite-starter
Enlite Starter - React Dashboard Starter Template with Firebase Auth
Stars: ✭ 28 (-41.67%)
Mutual labels:  starter-template, starter-kit
Hyperledger Typescript Boilerplate
This is a boilerplate that interacts between Hyperledger Fabric Peers and a front end.
Stars: ✭ 109 (+127.08%)
Mutual labels:  starter-template, starter-kit
sass-starter-pack
Sass starter files using Gulp v4.0.0 🔥
Stars: ✭ 34 (-29.17%)
Mutual labels:  starter-template, starter-kit
Yii2 Starter Kit
Yii2 Starter Kit
Stars: ✭ 1,372 (+2758.33%)
Mutual labels:  starter-template, starter-kit
saas-react-starter-kit-boilerplate
SaaStr is a React SaaS boilerplate to kickstart your new SaaS adventure as fast as possible. Built on top of Adonis JS for the BackEnd and React Starter Kit for the Front-End
Stars: ✭ 100 (+108.33%)
Mutual labels:  starter-template, starter-kit
Blazorboilerplate
Blazor Boilerplate / Starter Template with MatBlazor
Stars: ✭ 1,258 (+2520.83%)
Mutual labels:  starter-template, starter-kit
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (+89.58%)
Mutual labels:  starter-template, starter-kit
Dash-UI
Bootstrap 5 Admin & Dashboard Template - Dash-UI. Dash UI Kit is a free and open-source components and templates kit fully coded with Bootstrap 5.
Stars: ✭ 213 (+343.75%)
Mutual labels:  starter-template, starter-kit
php-base-project
A Composer ready package to start a new PHP 7 project
Stars: ✭ 17 (-64.58%)
Mutual labels:  starter-template, starter-kit

stack

A starter repository for MongoDB, Node.js, and Vue.js, with a local environment based on Docker.

Installation

Running the stack

$ docker-compose up

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:

127.0.0.1 stack.localhost

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.

$ DOMAIN=another-domain.localhost docker-compose up

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:

$ docker-compose -f docker-compose.yml -f docker-compose.debug.yml up

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

$ cd backend
$ npm i
$ npm test

Running frontend tests

$ cd frontend
$ npm i
$ npm test:unit
$ npm test:e2e

Linting

Run npm install on the root folder and it will set up a pre-commit hook to lint the staged files. You will also have two lint commands, npm run lint and npm run lint-staged that you can run on the root folder.

These commands run the individual lint and lint-staged scripts in both the frontend and the backend folders, and they will respect individual configurations of these folders.

License

MIT License

Copyright (c) 2020 Armagan Amcalar

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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].