Skip to content

colliery-io/dual-backend-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dual Backend Support Demo

A demonstration of implementing alternative database backends (SQLite/PostgreSQL) in a Rust application using Diesel ORM. This project shows how to structure a codebase to support multiple database engines through feature flags.

Technical Details

  • Diesel ORM with feature-based database selection
  • Common Data Access Layer (DAL) interface
  • Shared models and schema definitions
  • Example CRUD operations

Database Support

The project supports two database engines through feature flags:

  • sqlite - SQLite database
  • postgres - PostgreSQL database

This demo accompanies a technical blog post (link to be added) that covers the implementation details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages