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.
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.
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.
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/