zahidsom / remizzle

remix integration with drizzle ORM

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

App Name: Remizzle

Fullstack Application Demo using drizzle ORM ,SQLite and Remix https://orm.drizzle.team/docs/select

Demo of Remix framework, loader and action features which uploads data and requeries database and populates the UI.

This bare bones app only demos query and simple hardcoded mutation. The objective was to integrate database with remix.

Development

From your terminal:

N.B. don't forget to run this command to recreate schema (file schema.server.ts )

npm run db:migrations 

node_modules excluded from repository so need to run before application will start.

npm i
npm run dev

This starts your app in development mode, rebuilding assets on file changes.

Deployment

First, build your app for production:

npm run build

Then run the app in production mode:

npm start

Now you'll need to pick a host to deploy it to.

DIY

If you're familiar with deploying node applications, the built-in Remix app server is production-ready.

Make sure to deploy the output of remix build

  • build/
  • public/build/

About

remix integration with drizzle ORM


Languages

Language:JavaScript 99.3%Language:TypeScript 0.7%