KainosSoftwareLtd / answerit

Simple app for storing previous questions and answers for lookup and reuse

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AnswerIt

Simple site/database to store common questions and their answers. Specifically aimed at providing boiler-plate answers to common questions.

Usage

Configuration

To enable Azure AD sign-in, set the following environment variables:

AZURE_IDENTITY_METADATA=https://login.microsoftonline.com/YOUR_TENANT_NAME_OR_ID/.well-known/openid-configuration

AZURE_CLIENT_ID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx

AZURE_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxx=

AZURE_RETURN_URL=https://xxxxxxxxxxx.com/auth/openid/return

To learn more about the above values, click here. Additional Azure AD settings can be found in config.js

Running the server application

node server.js | bunyan

Tech used

  • Nodejs
  • PostgreSQL
  • Handlebars (server-side)
  • Foundation (front-end styling)

About

Simple app for storing previous questions and answers for lookup and reuse


Languages

Language:JavaScript 80.6%Language:HTML 17.8%Language:CSS 1.2%Language:TSQL 0.3%Language:Shell 0.1%