In this note
Legal Youth is a prototype for making legal information easier to explore. It has a React frontend, a Node and Express backend, search flows, resource pages, interactive tools, and a map for finding legal aid.
The technical work here is mostly product structure. Legal information is broad and sensitive, so I split it into routes and workflows a person can follow.
Frontend
Routing splits the app into its main screens: search, categories, articles, resources, tools, maps, forum, profile, login, and registration. Material UI gives the components a consistent base, and the motion and layout choices make the interface feel more approachable.
The homepage has a search entry point and topic cards for common legal needs. It also has a lightweight keyword-response assistant covering tenancy, employment, student issues, consumer problems, family topics, and privacy.
Backend
The Express server handles JSON parsing, CORS, security headers, logging, health checks, demo API routes, and serving the React build in production.
Even as a prototype, the backend skeleton matters. Search APIs, accounts, resource storage, and moderation all have a place to plug in later.
UX
Legal information is already stressful to navigate, and the interface should not make it worse. That means plain language, a clear path to relevant resources, and no pretending to replace professional advice.
The prototype does that by making categories, search, maps, and tools separate paths instead of burying everything in one long page.
Notes
- React Router is a good fit when the product is a set of user flows. Each route is one step a person can take.
- Material UI can speed up prototyping while keeping visual consistency.
- Helmet, CORS, Morgan, and JSON body parsing are the practical baseline for an Express API.
- Legal guidance products need careful information architecture because users may arrive with an urgent question they cannot phrase well.
- A keyword assistant was enough for the first prototype. Semantic search or a chatbot can come later.
- Maps and resource directories let people act on what they just read.
- Prototype code should still preserve clear frontend/backend boundaries so it can grow.
Takeaway
Building this prototype was as much a product exercise as a coding one. The pages were the smaller part. The harder part was designing a system that helps someone with a vague or urgent problem find a next step.