Concepts

This section explains the core concepts and architectural patterns used throughout LightNap. Understanding these concepts will help you work more effectively with the framework and make informed decisions when extending it.

Architecture & Design

Solution & Project Structure

Understand how LightNap is organized, including the .NET backend projects, Angular frontend structure, and the data flow pattern that connects them. This is the foundation for understanding how all the pieces fit together.

API Response Model

Learn about LightNap’s standardized REST API response format, including how errors are handled, HTTP status codes are used, and how the frontend automatically processes API responses.

Core Features

Content Management System

Explore LightNap’s built-in CMS that enables administrators and content editors to create, manage, and publish multilingual static content. Learn about pages, zones, access control, and frontend integration.

Learn about LightNap’s breadcrumb navigation system that automatically generates navigation trails based on route configuration, supporting both static labels and dynamic content from route parameters.

Testing Fundamentals

Testing Fundamentals

Introduction to testing concepts, frameworks, and architecture in LightNap.

Unit Testing Guide

Detailed guide for unit testing Angular components and services with Karma and Jasmine.

E2E Testing Guide

Complete guide for end-to-end testing with Cypress to validate user workflows.

Getting Started

New to LightNap? Start with:

  1. Solution & Project Structure - Get oriented with the codebase
  2. Authentication & Tokens - Understand the security model
  3. API Response Model - Learn the API patterns

Then explore the Development Guide section for practical implementation guides.


Table of contents