LesliContacts

Contact management for the Lesli Framework.


LesliContacts test status Gem Version Codecov Sonar Quality Gate




Introduction

LesliContacts is the official contact-management engine for the Lesli Framework.

It gives teams an account-scoped directory for maintaining customer, partner, and business contact information.


Features

  • Account-scoped contact directory
  • Contact profiles with names and status
  • Email and phone information
  • Notes and supporting contact details
  • Soft deletion for safer record management


Try LesliContacts


Quick Start

Requirements

  • A Rails application with Lesli
  • SQLite by default, or PostgreSQL when preferred by the host application

Install LesliContacts

Add the engine to the host Rails application and prepare its database:

bundle add lesli_contacts
bin/rails db:prepare

Mount the engine

Applications using Lesli's standard router mount LesliContacts automatically at /contacts:

# config/routes.rb
Rails.application.routes.draw do
    Lesli::Router.mount(self)
end

If the application does not use the standard Lesli router, mount the engine directly:

# config/routes.rb
Rails.application.routes.draw do
    mount LesliContacts::Engine => "/contacts"
end

Start Rails and visit http://127.0.0.1:3000/contacts:

bin/rails server


Development

Clone LesliContacts into the host application's engines directory:

cd RailsApp
mkdir -p engines
git clone https://github.com/LesliTech/LesliContacts.git engines/LesliContacts

Reference the local engine from the host application's Gemfile:

gem "lesli_contacts", path: "engines/LesliContacts"

Install dependencies, prepare the host database, and start Rails:

bundle install
bin/rails db:prepare
bin/rails server

Tests

From a complete Lesli development workspace, run the engine test suite from the LesliContacts directory:

cd engines/LesliContacts
bin/rails test


Documentation


Community


License

Copyright (c) 2026, Lesli Technologies, S. A.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.




Lesli icon

The Open-Source SaaS Development Framework for Ruby on Rails.

 Edit this page

Last Update: 2026/07/19