This is a single-page application (SPA) built with Vanilla TypeScript and Vite for building, designed to render article data from a local JSON file and support dynamic routing and sorting. It uses vanilla Typescript with modular components, Bootstrap for styling, and a custom router implementation. Thank you so much for your consideration.
npm installnpm run devThis will start the Vite development server. Open your browser and navigate to:
http://localhost:5173
src/components/– Individual UI components (e.g., ArticlePage, Sidebar)src/routes.ts– Route configuration for the SPApublic/news_feed.json– Static article data sourcemain.ts– Entry point for application logic
- Functional Javascript for loading content and components
- Custom client-side routing without a framework
- Article listing and filtering by category
- Responsive design using Bootstrap
- Sorting support by author, title, and date
- Dynamic content rendering with HTML template strings
This project is intentionally built without React or other frontend frameworks to demonstrate vanilla JS/TS application architecture.