An open API service indexing awesome lists of open source software.

https://github.com/developerdavid2/ledgerly-app

Full‑stack, mobile‑first personal finance and lightweight invoicing app built as a Npm monorepo with an Expo/React Native client and a Hono API backed by PostgreSQL and Drizzle.
https://github.com/developerdavid2/ledgerly-app

Last synced: 8 days ago
JSON representation

Full‑stack, mobile‑first personal finance and lightweight invoicing app built as a Npm monorepo with an Expo/React Native client and a Hono API backed by PostgreSQL and Drizzle.

Awesome Lists containing this project

README

          

# ledgerly-app

This project was created with [Better-T-Stack](https://github.com/AmanVarshney01/create-better-t-stack), a modern TypeScript stack that combines React Native, Expo, Hono, and more.

## Features

- **TypeScript** - For type safety and improved developer experience
- **React Native** - Build mobile apps using React
- **Expo** - Tools for React Native development
- **TailwindCSS** - Utility-first CSS for rapid UI development
- **Hono** - Lightweight, performant server framework
- **Node.js** - Runtime environment
- **Drizzle** - TypeScript-first ORM
- **PostgreSQL** - Database engine
- **Authentication** - Better-Auth
- **Turborepo** - Optimized monorepo build system

## Getting Started

First, install the dependencies:

```bash
npm install
```

## Database Setup

This project uses PostgreSQL with Drizzle ORM.

1. Make sure you have a PostgreSQL database set up.
2. Update your `apps/server/.env` file with your PostgreSQL connection details.

3. Apply the schema to your database:

```bash
npm run db:push
```

Then, run the development server:

```bash
npm run dev
```

Use the Expo Go app to run the mobile application.
The API is running at [http://localhost:3000](http://localhost:3000).

## Project Structure

```
ledgerly/
├── apps/
│ ├── native/ # Mobile application (React Native, Expo)
│ └── server/ # Backend API (Hono)
├── packages/
│ ├── auth/ # Authentication configuration & logic
│ └── db/ # Database schema & queries
```

## Available Scripts

- `npm run dev`: Start all applications in development mode
- `npm run build`: Build all applications
- `npm run dev:server`: Start only the server
- `npm run check-types`: Check TypeScript types across all apps
- `npm run dev:native`: Start the React Native/Expo development server
- `npm run db:push`: Push schema changes to database
- `npm run db:generate`: Generate database client/types
- `npm run db:migrate`: Run database migrations
- `npm run db:studio`: Open database studio UI