Article

journal / expressjs_demo

expressJS_demo is a pair of small Express and EJS exercises

Web Apps
Carla March 29, 2023 1 min read

This repo is a pair of small Express exercises. It is not trying to be a product. It is there to make the basics easier to see.

At a glance

  • Stack: Node.js, Express, EJS, body-parser
  • Type: Learning repo
  • Use: Practising routing, templates, and simple form handling
  • Status: Exercises

What is in it

One app focuses on routing and EJS templates. The other handles a simple POST flow and re-renders an in-memory list. Splitting the examples keeps each one small enough to understand without a lot of noise around it.

Why it is useful

Small repos like this are still one of the fastest ways to learn a new framework. You can run the app, change one thing, and see the effect without a bigger architecture getting in the way.

What stands out

  • The examples stay narrow, which makes them easier to reason about.
  • The POST demo keeps data in memory on purpose so there is no setup barrier.
  • Each folder has its own package.json, so the boundaries are obvious.

What I would add

  • A short README with exact run steps.
  • Basic validation on the form example.
  • A tiny JSON route to contrast rendered pages with API output.

Link