{"id":16144359,"url":"https://github.com/ryanj/http-base","last_synced_at":"2025-03-18T17:31:49.645Z","repository":{"id":29976213,"uuid":"33523247","full_name":"ryanj/http-base","owner":"ryanj","description":"basic http server for nodejs with static files","archived":false,"fork":false,"pushed_at":"2018-11-14T19:15:56.000Z","size":31,"stargazers_count":2,"open_issues_count":36,"forks_count":51,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T11:23:04.386Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanj.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-07T05:06:39.000Z","updated_at":"2018-11-14T19:16:03.000Z","dependencies_parsed_at":"2022-08-24T12:00:15.249Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/http-base","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhttp-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhttp-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhttp-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2Fhttp-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/http-base/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243944686,"owners_count":20372846,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:12:44.646Z","updated_at":"2025-03-18T17:31:49.309Z","avatar_url":"https://github.com/ryanj.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# http-base [![Build Status](http://img.shields.io/jenkins/s/https/build-shifter.rhcloud.com/http-build.svg)](https://build-shifter.rhcloud.com/job/http-build/) [![Dependency Check](http://img.shields.io/david/ryanj/http-base.svg)](https://david-dm.org/ryanj/http-base)\n*A basic HTTP example repo for nodejs, inspired by Raynos/http-framework*\n\n# Local Development\nInstall dependencies:\n\n```bash\nnpm install\n```\n\nStart a local server:\n\n```bash\nnpm start\n```\n\n# OpenShift V3 / Kubernetes\n\nYou'll need the `oc` command line tool to install this project in a Docker-based OpenShift environment.  The cli tool binary is available via the [`openshift/origin` releases page](https://github.com/openshift/origin/releases/).\n\nUse [vagrant](http://openshift.org/vm) or [ansible](https://github.com/openshift/openshift-ansible) to setup your own deployment of OpenShift, then use `oc login` to authenticate. These instructions assume that a basic [nodejs builder image](https://github.com/openshift/origin/tree/master/examples/image-streams) has already been made available in the `openshift` project by an admin.\n\nBuild and deploy the application from the command line using the `oc` command line tool, and a nodejs builder image:\n\n    oc new-app openshift/nodejs~https://github.com/ryanj/http-base\n\nAfter your deployment has completed, find the pod NAME for your hosted container:\n\n    oc get pods\n\nPush changes from a local repo into this environment using the pod NAME from the previous step, allowing you to test your changes without stopping to make a commit:\n\n    oc rsync --exclude='node_modules*' . YOUR_PODNAME:\n\nUse gulp to automatically publish updates your remotely-hosted container as you work:\n\n    PODNAME=YOUR_PODNAME gulp\n\nThe included [`gulpfile`](https://github.com/ryanj/http-base/blob/master/gulpfile.js) example will automatically distribute changes from your local `index.html` file into the identified pod.\n\n# License\nThis code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fhttp-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Fhttp-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fhttp-base/lists"}