Skip to content

Latest commit

 

History

History
89 lines (63 loc) · 2.1 KB

README.md

File metadata and controls

89 lines (63 loc) · 2.1 KB

template-docker-full-stack-app

Template Nginx, Node.js Express API, Vue.js Application


the following applications are required to run in production:

the following applications are required to run in development:

Note: need help with submodules? check this out

# clone full-stack template
git clone --recursive git@github.com:mi-sec/template-docker-full-stack-app.git
cd template-docker-full-stack-app/
./start.dev.sh
./start.dev.sh

# wait for the UI to finish building in docker-compose startup then:
cd app/ui
npm i
npm run serve
# access live ui at http://localhost:8080/
cd api
npm i
npm test
./start.prod.sh

ui will be accessible at http://localhost by default api will be accessible at http://localhost/api/ by default

API testing:

For testing API things, import the Postman collection in the api folder. Environment should be set for:

  • PROTOCOL: http
  • HOSTNAME: localhost
  • PORT: 80
  • PATH: /api

v1.0.0

  • initial release