Skip to content
/ strato-stack Public template

Strato Stack is a modern web development stack for building fast, scalable apps. It implements React Router, Express JS Server, Shadcn UI, Tailwind CSS, Drizzle ORM, PostgreSQL, and Better Auth.

Notifications You must be signed in to change notification settings

ejscheepers/strato-stack

Repository files navigation

Strato Stack

This project is a lightweight stack for building web applications using React Router, React, and Tailwind CSS. It leverages Shadcn components for UI and Drizzle ORM for database interactions with PostgreSQL.

Enter your site's data

=> 'app/config/siteData.json.ts'

Set up .env variables

Copy the .env.example file to .env and fill in the variables.

Installation

First, ensure you have Node.js (>=18.0.0) installed. Then, install the dependencies:

npm install

Development

Ensure Docker Desktop is running and then run:

npm run dev:infra

To start the development server, run:

npm run dev

This will start the React Router development server.

Building

To build the project for production, use:

npm run build

Starting the Server

After building, you can start the server with:

npm run start

Database Management

  • Generate Database Migrations:
    npm run db:generate
  • Run Database Migrations:
    npm run db:migrate
  • Check Database Status:
    npm run db:check
  • Open Database Studio:
    npm run db:studio

Updating Dependencies

  • Check for Updates:
    npm run update-check
  • Update All Dependencies:
    npm run update-all
  • Update Safe (Minor Updates Only):
    npm run update-safe
  • Update React Router Packages:
    npm run update-router

Infrastructure Management

  • Start Development Infrastructure:
    npm run dev:infra
  • Stop Development Infrastructure:
    npm run dev:infra:down
  • Reset Development Infrastructure:
    npm run dev:infra:reset

Type Checking

To run type checks, execute:

npm run typecheck

License

This project is licensed under the MIT License.

About

Strato Stack is a modern web development stack for building fast, scalable apps. It implements React Router, Express JS Server, Shadcn UI, Tailwind CSS, Drizzle ORM, PostgreSQL, and Better Auth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published