https://github.com/ryosukecla/vue-express-boilerplate
Full featured boilerplate which is done in docker and just for me.
https://github.com/ryosukecla/vue-express-boilerplate
boilerplate docker-compose eslint express hot-reload mongo nginx nightmare pug redis reverse-proxy sass socket-io vue webpack
Last synced: 9 days ago
JSON representation
Full featured boilerplate which is done in docker and just for me.
- Host: GitHub
- URL: https://github.com/ryosukecla/vue-express-boilerplate
- Owner: RyosukeCla
- License: mit
- Created: 2017-09-08T09:02:00.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-12-25T06:16:28.000Z (over 7 years ago)
- Last Synced: 2025-04-08T22:41:54.657Z (about 1 month ago)
- Topics: boilerplate, docker-compose, eslint, express, hot-reload, mongo, nginx, nightmare, pug, redis, reverse-proxy, sass, socket-io, vue, webpack
- Language: JavaScript
- Homepage:
- Size: 1.26 MB
- Stars: 5
- Watchers: 0
- Forks: 4
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
| Common | Frontend | Backend |
|:---------:|:-----------:|:-----------:|
| es2017 | vue 2.4 | express 4 |
| socket.io | vue-router 2| mongodb |
| axios | pug | redis |
| webpack 3 | scss | nodemon |
| eslint | hot reload | |
| mocha | nightmare | |
| docker |||
| nginx |||## getting started
setup enviroment
```
$ git clone https://github.com/RyosukeCla/vue-express-boilerplate.git
$ cd vue-express-boilerplate
$ docker-compose up -d
$ docker-compose exec admin npm install
```
start to develop
```
$ docker-compose exec admin npm run dev
```go to [localhost](http://localhost)
## docs
- [promise.io api](./docs/promise.io.md)# Detail
## setup
```
$ docker-compose up -d
$ docker-compose exec admin npm install
```## develop
```
$ docker-compose exec admin npm run dev
```
go to [localhost](http://localhost)## e2e test
```
# You need to start server before e2e testing
$ docker-compose exec admin npm run dev
# or
$ docker-compose exec admin npm run start
```
```
$ docker-compose exec admin npm run test:e2e
```## unit test
```
$ docker-compose exec admin npm run test:unit
```## production
build for production
```
$ docker-compose exec admin npm run build
```start server
```
$ docker-compose exec admin npm run start
```stop server
```
$ docker-compose exec admin npm run stop
```