GitHub Openhack
Перейти к файлу
Meggie39 47051aba27
Merge pull request #14 from microsoft/Meggie39-patch-2
Update README.md
2020-01-09 15:54:25 -05:00
.github/workflows Create deploy-to-prod.yml 2020-01-09 15:38:52 -05:00
lib Create server response with template 2019-05-16 15:02:50 +01:00
test Add async logic with unit test example 2019-05-02 15:58:56 +02:00
views Create server response with template 2019-05-16 15:02:50 +01:00
.gitignore Initial commit 2019-05-02 13:53:01 +02:00
LICENSE Initial commit 2019-05-02 13:53:01 +02:00
README.md Update README.md 2020-01-09 15:52:55 -05:00
index.js Create server response with template 2019-05-16 15:02:50 +01:00
out.gif Add files via upload 2019-05-16 15:07:17 +01:00
out2.gif Add files via upload 2019-05-16 15:07:17 +01:00
package-lock.json Fix vulns 2019-08-26 17:27:03 +09:00
package.json Fix vulns 2019-08-26 17:27:03 +09:00

README.md

Everyone Welcome - Happy New Year

This repository contains the base project part of our on-site GitHub Verified Partner workshop program. It is meant to be used for in-classroom training under the supervision of GitHub coaches.

This is the NodeJS version of our "Tonkotsu" workshop webapp. The codebase is pretty simple: it's a NodeJS app that will connect to GitHub's Octocat API endpoint and return the Zen quote of the day. E.g.:

Demo (sucess)

out

Demo (failure)

out

There are some built-in unit tests to ensure that everything can be verified.

Instructions

Please fork this repository and ensure you have a local working copy. You will need a working NodeJS environment. Get the latest stable version from https://nodejs.org/en/download/ or via your OS package manager (e.g. brew on Mac or chocolatey on Windows).

Setup:

npm install 

Tests:

npm run test

Run server (defaults to localhost:3000):

npm start

Follow the coach instructions and good luck!