- By jcruz
- Developed as guided-practice following a Team Treehouse (Code Academy) lesson:
- Introduction to
Node.js
, andExpress
- Introduction to
- Deployed independently
- Last update 11/8/2023
runtimeEnvironment
: Node.jspackageManager
: npmwebAppFramework
: ExpresstemplateEngine
: Pug
textEditors
: VSCode, vimcliTool
: nodemonworkstation
: Windows 11 > WSL2 > Linux: Debian 10middleware
:- body-parser; embedded in
app.use(express.urlencoded())
. May be deprecated. - cookie-parser
- body-parser; embedded in
hosting
: render.comcentralRepo
: GitHub
version
: 1.0.0student
: jcruzaxaeonorganizationOfStudent
: Team TreehouseorganizationType
: Code Academycertificate
: FullstackappName
: FlashcardsappCode
: tth64unit
: 6chapter
: 4chapterName
: Express BasicschapterType
: CourseversionDescription
: Final state after completing Team-Treehouse-course "Express Basics" (Unit 6, Step 5).subjects
: []- Node.js
- Express
keyDescriptions
: {}chapter
: Code for "Step" in Team Treehouse lesson hierarchy: "Unit" > "Step" (Instruction / Course / Workshop / Project). Altered from "Step" to more closely match a textbook naming-convention (Unit > Chapter > Part > Section > Item ). See uscode.house.gov, "Detailed Guide to the Code" for a generic guide to subdividing text.
- Test render.com deployment
- Start a spreadsheet with questions/answer pairs
- Final refactor: clean up comments, remove uneeded files
- Link render.com deployment to portfolio site.
- Some part of the [URL Encoding] needs to be updated (non-breaking). Terminal logs "deprecated".
// Used to parse incoming POST-data (body-parser functionality) app.use(express.urlencoded());
- Hide
hints
until user clicks ashow hints
-button- Present a show-hints button
- Hide hint by default
- Create different flashcard sets
- Add ability to switch between different sets, possibly organized by theme
- Connect to a database - See TTH courses
- We are currently getting the data from a
flat.JSON
-file - Normally this kind of app would be connected to a database
- Database allows user to store new flashcards through the app itself
- As of right now, we need to edit the JSON file (manually / directly) to "create" new cards
- We are currently getting the data from a
- Add users / authentication
- See TTH-course on authentication and users
- Refactor for render.com deployment
- Use render.com environment variables
- Update .gitignore - Remove
design/
from git-tracking. Used$ git rm -r --cached design
. - Push to GitHub