FibApp is a purposefully overengineered, multi-service application created to learn, experiment with, and explore foundational concepts in modern web development. ๐
Much of the inspiration for this project comes from Docker and Kubernetes - The Complete Guide by Stephen Grider. For those aiming to master Docker and Kubernetes, this resource is highly recommended.
- Redis Cache โ an in-memory data structure store, used as a cache and message broker.
- API Service โ Node.js + Express app that stores and retrieves Fibonacci numbers from Redis.
- Worker โ Node.js process that listens on Redis Pub/Sub, computes Fibonacci numbers, and caches results in Redis.
- React Server โ React application built with vite and styled with Pico CSS.
The repository is organized as a monorepo using Turborepo to manage multiple services and projects.
- Efficient Builds: Caches and optimizes tasks to speed up development.
- Unified Management: Centralizes scripts and dependencies for consistent tooling.
- Scalability: Easily add new services or utilities without complicating the setup.
@repo/eslint-config:eslintconfigurations (includeseslint-plugin-prettier)@repo/typescript-config:tsconfig.jsons used throughout the monorepo@repo/vitest-config:vitestconfigurations, for react and node
This Turborepo has some additional tools already setup:
- Pnpm as the package manager
- TypeScript for static type checking
- ESLint & Prettier for code quality
Make sure the following are installed on your machine:
