Giter Club home page Giter Club logo

cs3219_otot_a1's Introduction

CS3219 OTOT Task A1

CS3219 OTOT Task A1 is split into 3 parts. Read up on reverse proxy here.

First, clone the repository

git clone https://github.com/CS3219-AY2223S1/OTOT-A1.git
cd cs3219_otot_taska1

A1.1 - Dockerize node app in app folder

In the app/index.html file, search for "TODO" and fill in the blanks.

Follow these guide to Dockerize the sample node app.

A1.2 - Dockerize NGINX reverse proxy in nginx-sample folder

In the nginx-sample/index.html file, search for "TODO" and fill in the blanks.

Follow these guide to dockerise the sample NGINX reverse proxy to serve the static HTML in nginx/index.html.

A1.3 - Use NGINX to serve the node app using docker-compose

Create a new NGINX conf file and Dockerfile in nginx folder. Run the application stack in app and nginx using docker-compose.

Follow this guide to use NGINX to act as a reverse proxy such that when a browser makes a HTTP request, the request first goes to the reverse proxy and then sends the request to the appropriate web server. Your final task, you have to server the node app in app folder. Use a separate config file from A1.2.

cs3219_otot_a1's People

Contributors

pangpuncake avatar marcustw avatar

Watchers

 avatar

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.