Enhanced solution to the Schultz Mönster Nörd Bar challenge. Answers questions from the Mönster server.
An Express & NodeJS web application, which queries the WolframAlpha API (the original solution didn't - but as the winning quote goes: Don't work harder - work smarter).
- Get yourself an AppId from WolframAlpha
- Create a
.env
file in the root of the project and add this to it:
# .env
WOLFRAM_APPID=<your_appid_here>
Install the dependencies:
> npm i
Run this in your terminal:
npm start
After the application has started visit http://localhost:3000 in your preferred browser.
Keep an eye out for questions the Wolfram API can't answer - they will be output to your terminal running the application, and add the logic yourself to the switch
statement in app/index.js
- or fuck it - anywhere you want.