You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

lighthouse-api

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

lighthouse-api

The Lighthouse API is a .NET 8.0 Web API that provides secure credit card processing, report generation, and payment management capabilities. It's built with modern security practices and integrates with Firebase for authentication.

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

Lighthouse Logo Lighthouse API

.NET ASP.NET Core C# Firebase License

Lighthouse API is the comprehensive backend service for the Lighthouse lending management platform developed by ClearVision Software. This robust API powers loan origination, servicing, and account management operations for financial institutions. Built with modern .NET technologies, the API provides secure, scalable endpoints for managing the entire lending lifecycle with real-time collaboration capabilities.

Getting Started

Prerequisites

  • .NET 9.0 SDK
  • Firebase project with Firestore enabled

Configuration

  • Add your Firebase configuration to appsettings.json
  • Set up your Firebase service account credentials

Running the Application

Quick Start with Script

The easiest way to run the API with different logging levels:

# Make the script executable (first time only)
chmod +x run-api.sh

# Run with different modes
./run-api.sh                # Standard logging
./run-api.sh quiet          # Minimal logging
./run-api.sh verbose        # Detailed logging
./run-api.sh debug          # Full debugging
./run-api.sh api-debug      # API request debugging only
./run-api.sh help           # Show all options

Manual Commands

You can also run the API directly with dotnet:

# Standard mode
dotnet run

# Quiet mode (minimal logging)
dotnet run --quiet

# Verbose mode (detailed application logging)
dotnet run --verbose

# Request logging only
dotnet run --requestlog

# Full debugging (verbose + request logging)
dotnet run --verbose --requestlog

Logging System

Available Logging Flags

  • --requestlog: Enables detailed HTTP request and response logging
  • --verbose: Enables detailed logging for all application components
  • --quiet: Reduces logging to warnings and errors only

Logging Levels by Component

ComponentStandardVerboseQuiet
ApplicationInformationDebugWarning
Microsoft.*WarningInformationWarning
System.*WarningInformationWarning
AuthenticationInformationDebugWarning
RepositoriesInformationDebugWarning
FirebaseInformationDebugWarning

Example Outputs

Standard Mode:

[14:30:15 INF] Logging level: Information
[14:30:15 INF] Request logging: Disabled
[14:30:15 INF] Starting ClearVision Lighthouse API...

Verbose Mode:

[14:30:15 INF] Logging level: Debug (Verbose mode enabled)
[14:30:15 INF] Request logging: Disabled
[14:30:15 DBG] Firebase client initialized
[14:30:15 DBG] Repository dependencies configured

Quiet Mode:

[14:30:15 INF] Logging level: Warning (Quiet mode enabled)
[14:30:15 INF] Request logging: Disabled

API Documentation

Once running, visit:

  • Swagger UI: http://localhost:5199/swagger
  • API Explorer: http://localhost:5199/swagger/v1/swagger.json

Development

Building

dotnet build

Testing

dotnet test

Project Structure

lighthouse-api/
├── Controllers/          # API endpoints
├── Services/            # Business logic
├── Repositories/        # Data access layer
├── Models/              # Data models
├── Middleware/          # Custom middleware
├── Authentication/      # Auth services
└── Program.cs          # Application entry point

Features

  • Real-time collaboration
  • Firebase Firestore integration
  • JWT authentication
  • Comprehensive logging system
  • Request/response middleware
  • Swagger documentation

Troubleshooting

Common Issues

Port already in use:

# Use a different port
dotnet run --urls "http://localhost:5299"

Too much logging output:

# Use quiet mode
./run-api.sh quiet

Need to debug API requests:

# Use API debug mode
./run-api.sh api-debug

General debugging:

# Use full debug mode
./run-api.sh debug

For detailed logging documentation, see README_RequestLogging.md.

License

Proprietary Software - ClearVision Software

This software is licensed for use exclusively by ClearVision Software clients and partners. Unauthorized distribution, modification, or use is strictly prohibited.

FAQs

Package last updated on 15 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts