Skip to content

Polqt/project-agap

Repository files navigation

project-agap

This project was created with Better Fullstack, a modern TypeScript stack that combines Next.js, Self, TRPC, and more.

Features

  • TypeScript - For type safety and improved developer experience
  • Next.js - Full-stack React framework
  • React Native - Build mobile apps using React
  • Expo - Tools for React Native development
  • TailwindCSS - CSS framework
  • shadcn/ui - UI components
  • tRPC - End-to-end type-safe APIs
  • Drizzle - TypeScript-first ORM
  • PostgreSQL - Database engine
  • Authentication - Supabase Auth
  • Turborepo - Optimized monorepo build system

Getting Started

First, install the dependencies:

pnpm install

Database Setup

This project uses PostgreSQL with Drizzle ORM.

  1. Make sure you have a PostgreSQL database set up.

  2. Update your apps/web/.env file with your PostgreSQL connection details.

  3. Apply the schema to your database:

pnpm run db:push

Then, run the development server:

pnpm run dev

Open http://localhost:3001 in your browser to see the fullstack application. Use the Expo Go app to run the mobile application.

Project Structure

project-agap/
├── apps/
│   └── web/         # Fullstack application (Next.js)
│   ├── native/      # Mobile application (React Native, Expo)
├── packages/
│   ├── api/         # API layer / business logic
│   ├── auth/        # Authentication configuration & logic
│   └── db/          # Database schema & queries

Available Scripts

  • pnpm run dev: Start all applications in development mode
  • pnpm run build: Build all applications
  • pnpm run check-types: Check TypeScript types across all apps
  • pnpm run dev:native: Start the React Native/Expo development server
  • pnpm run db:push: Push schema changes to database
  • pnpm run db:studio: Open database studio UI

About

A barangay-first disaster preparedness and evacuation app for Filipino communities, offline maps, live evacuation tracking, AI-generated LGU reports, and SMS fallback for residents without smartphones.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors