-
Notifications
You must be signed in to change notification settings - Fork 3
Backend Architecture
Mena Attia edited this page Oct 8, 2021
·
4 revisions
Overview
- The backend is a web app supported by Express in a Node.js runtime environment. Data storage for FAQs is supported by a Firebase database. Files are organized as such in folder
src: -
firebase-config/: contains the Firebase configuration and type definitions for the FAQ data. -
server.ts: starts a local development server. -
app.ts: contains enpoints for getting data and posting to Firebase. -
auth.ts: contains a function for authenticating users with their Cornell emails.