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.
=> 'app/config/siteData.json.ts'
Copy the .env.example file to .env and fill in the variables.
First, ensure you have Node.js (>=18.0.0) installed. Then, install the dependencies:
npm install
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.
To build the project for production, use:
npm run build
After building, you can start the server with:
npm run start
- 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
- 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
- Start Development Infrastructure:
npm run dev:infra
- Stop Development Infrastructure:
npm run dev:infra:down
- Reset Development Infrastructure:
npm run dev:infra:reset
To run type checks, execute:
npm run typecheck
This project is licensed under the MIT License.