Coder Social home page Coder Social logo

energeticpixels / nginx-nodejs-mongo Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18 KB

NGINX as a reverse proxy to 2 nodejs/python apis to a data warehouse of MongoDB (in P-S-S configuration).

License: BSD 3-Clause "New" or "Revised" License

Shell 96.19% JavaScript 3.81%

nginx-nodejs-mongo's Introduction

Energetic Pixels' Nginx / NodeJS / MongoDB (single instance)

  • Simple vagrant box with nginx as a reverse proxy server (load balancing, ssl) for two node instances.
  • API box forwards guest ports 3000 and 3001 to 9001 and 9002 (host side) for nodejs in development mode.
    • This box has two folders on host synced to two folders on guest for api project 'home'. Automatically created by vagrant.
    • This box has two sample nodejs api scripts for initial setup testing purposes. To use, comment out API box's synced_folder lines and uncomment node_from_scratch file's section about installing 2 sample apis (4 shell script lines).
  • Web box builds NGINX from source and forwards guest port 80 to host 8080. OpenSSL built from source and is integrated with NGINX but not setup in site configuration.
  • DB box has MongoDB installed with capability to build from source (if needed).
1. Install VirtualBox 4.0 (minimum version).
2. Install Vagrant (min version 2)
3. Clone this repo to local folder on your hard-drive
4. Using a terminal window, change directory to your new local folder (step 3)
5. Using the same terminal window, type "vagrant up --provision"

This project was built with the idea of using Vagrant Host Manager, and Timezone plugins.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.