Joshua Argent
HomeProjectsAboutBlogResumeContact
Joshua Argent

Joshua Argent is a Surrey based full stack developer building TypeScript and Next.js applications, including CathoScroll, and learning application security.

Navigate

  • Home
  • Projects
  • About
  • Blog
  • Resume
  • Contact

Featured

  • CathoScroll
  • Portfolio

Connect

  • Email
  • GitHub
  • LinkedIn
  • YouTube
  • Instagram
  • Facebook
  • TikTok
  • RSS Feed

© 2026 Joshua Argent. All rights reserved.

Back to Projects

NestJsTemplate

Reusable NestJS (Fastify) backend template with modular architecture, and structured API design. Built with NestJS (Fastify) and TypeScript.

Unknown0 starsUpdated Mar 25, 2026
View Source

Tech Stack

apibackendfastifymodular-architecturenestjsnodejsstartertemplatetypescriptvalidation

README

NestJsTemplate

Overview

This is a reusable backend template built with NestJS (Fastify), designed to provide a structured and scalable starting point for API development.

It includes a modular architecture, validation layer, and clear separation of responsibilities to support building reliable backend systems.


Purpose

  • provide a consistent backend foundation
  • enforce structured API design
  • handle validation and business logic securely

Core Structure

Modules

  • Feature based module organisation

  • Each module encapsulates:

    • routes (controllers)
    • services (business logic)
    • validation

API Layer

  • Controllers define API endpoints
  • Services handle all business logic
  • Clear separation between request handling and logic

Validation

  • Input validation using DTOs
  • Ensures all incoming data is validated before processing
  • Prevents invalid or unsafe operations

Technical Architecture

Backend

  • NestJS (Fastify)

Handles:

  • API routing and request handling
  • validation and business logic
  • structured service layer

Structure

root/
└── src/
    ├── modules/      # feature modules
    ├── common/       # shared utilities and helpers
    ├── config/       # environment and configuration
    └── main.ts       # application entry point

Features

  • modular architecture
  • structured API design
  • validation layer using DTOs
  • separation of concerns (controller / service)
  • scalable foundation for backend systems

Usage

This template is intended to be used as a starting point:

  • clone the repository
  • install dependencies
  • define modules and endpoints
  • build features within the existing structure

Related Projects

  • EloFlos
  • EloFlosMerch
  • NextJsTemplate
  • Portfolio

Status

  • Stable base structure
  • Actively used for backend development

Notes

This template is intentionally focused on:

  • structure
  • scalability
  • maintainability

It reflects the backend patterns used across my systems.

Related Projects

Similar projects you might be interested in.

TS_CathoScroll

A Catholic learning platform featuring community discussion, and progress tracking. Built with Next.js, React, TypeScript, and Supabase.

catholiceducationnextjssupabase+2
TypeScript1
DemoCodeDetails

TS_Portfolio

A personal portfolio showcasing my full stack projects, blog, and journey into application security. Built with Next.js, React, and TypeScript.

githubapinextjsreacttailwindcss+2
TypeScript1
DemoCodeDetails