All Projects → zhzhang-4390 → vue-production-server-proxy

zhzhang-4390 / vue-production-server-proxy

Licence: other
Boilerplate for Vue project ready for production, with neat implementation of "devServer proxy" in production environment, using Nginx

Programming Languages

Vue
7211 projects
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to vue-production-server-proxy

live-platform
Add breakpoints, logs, metrics, and spans to live production applications
Stars: ✭ 37 (+37.04%)
Mutual labels:  production
kubernetes-front-end-backend-example
Demonstration on how to setup ingress, two services ( frontend and backend) with reverse proxy
Stars: ✭ 24 (-11.11%)
Mutual labels:  nginx-proxy
defcon
DefCon - Status page and API for production status
Stars: ✭ 12 (-55.56%)
Mutual labels:  production
nginx-conf
⚙️ Nginx conf of FastGit, core part of fastgit web booster module
Stars: ✭ 73 (+170.37%)
Mutual labels:  nginx-proxy
old nesta daps
[archived]
Stars: ✭ 16 (-40.74%)
Mutual labels:  production
express-sls-app
How to deploy a Node.js application to AWS Lambda using Serverless, a quick start.
Stars: ✭ 20 (-25.93%)
Mutual labels:  production
ssm-scala
ssh replacement: CLI program that wraps SSM's EC2 Run Command
Stars: ✭ 18 (-33.33%)
Mutual labels:  production
docker-nginx-proxy-cloudflare-companion
Automatically update CNAME records when Docker container starts via Cloudflare
Stars: ✭ 26 (-3.7%)
Mutual labels:  nginx-proxy
docker-alpine-nginx-pagespeed
Dockerized Nginx with PageSpeed Module on Alpine Linux
Stars: ✭ 28 (+3.7%)
Mutual labels:  nginx-docker
geostat
GeoStat, Python script for parsing Nginx and Apache logs files and getting GEO data from incoming IP's.
Stars: ✭ 50 (+85.19%)
Mutual labels:  nginx-proxy
vue-loopback
A Vue project template with Loopback framework optionally with Vuex, Vue-router, and Auth boilerplaite
Stars: ✭ 52 (+92.59%)
Mutual labels:  vuejs-templates
nginx-proxy-manager
Docker container for managing Nginx proxy hosts with a simple, powerful interface
Stars: ✭ 9,268 (+34225.93%)
Mutual labels:  nginx-proxy
rest-api-node-typescript
This is a simple REST API with node and express with typescript
Stars: ✭ 154 (+470.37%)
Mutual labels:  production
pug-symfony
Pug (Jade) template engine for Symfony
Stars: ✭ 40 (+48.15%)
Mutual labels:  production
editions
📆🆕 Daily Edition app
Stars: ✭ 42 (+55.56%)
Mutual labels:  production
pwptemp
pwptemp
Stars: ✭ 54 (+100%)
Mutual labels:  production
terranetes
Terraform boilerplate for production-grade Kubernetes clusters on AWS (optionally includes kube-system components, OpenVPN, an ingress controller, monitoring services...)
Stars: ✭ 15 (-44.44%)
Mutual labels:  production
django-template
The ultimate Django template: production ready Django 3.2 with Docker, HTTPS and CI/CD using Github actions ‎️‍🔥
Stars: ✭ 20 (-25.93%)
Mutual labels:  nginx-proxy
sproutstack-dev-engine
SproutStack - A PHP development engine built around Docker Compose
Stars: ✭ 13 (-51.85%)
Mutual labels:  nginx-docker
eaf-linter
🤪 A linter, prettier, and test suite that does everything as-simple-as-possible.
Stars: ✭ 17 (-37.04%)
Mutual labels:  production

vue-production-server-proxy

Boilerplate for Vue project ready for production, with neat implementation of "devServer proxy" in production environment, using Nginx.


Getting Started

I'm using Docker as a production environment, but feel free to use any other production environment which you prefer. My solution does not rely on Docker, the trick is all about Nginx.

Prerequisites

To install docker: https://www.docker.com/products/docker-desktop

Installing

git clone https://github.com/zhzhang-4390/vue-production-server-proxy.git

cd vue-production-server-proxy

npm i

Running

Development Environment

npm run serve

Go to http://localhost:8080 using your browser.

Other than the Vue starter page, you should be able to see the rendered HTML of my Github page :)

This is the vue.config.js proxying.

Ctrl+C to stop the development server.

Production Environment

docker build . -t demo

docker run -d -p 8080:80 demo

Go to http://localhost:8080 using your browser.

Now if you still can see the rendered HTML of my Github page, then that's nginx.conf proxying :)


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