Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

CodeSignal

Build an Express App from Scratch with Codex

via CodeSignal

Overview

Create complete Typescript applications from the ground up using Codex. Learn to set up projects, build APIs, design interactive user interfaces, implement advanced features like dice notation parsing, and add proper validation and error handling.

Syllabus

Building Dice Roller API

  • Setting Up Your Express TypeScript Project
  • Add rollDice Function in src/utils.ts
  • Build the /roll JSON API endpoint in Express and TypeScript

Creating Landing Page

  • Dice Roller Landing Page with Express and TypeScript
  • Dark/Light Theme Toggle with CSS Variables and localStorage Persistence
  • UI Polish for Dice Roller: Dice Icon, Result Chips, Theme-Aware Favicons, and Typography Controls

Validating Dice Notation

  • Implement Dice Notation Parsing and Validation in Express TypeScript API
  • Write Deterministic Jest Tests for Dice Parser and /roll/ Endpoint

Reviews

Start your review of Build an Express App from Scratch with Codex

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.