yiqu / ledger

Simple ledger application built with Remix and MUI. Backed by Mongo Atlas and deployed on Vercel.

Home Page:https://ledger-eta.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ledger

Simple ledger application built with Remix and Mongo Atlas deployed on Vercel.

CI/CD

Automated by Vercel Preview and Ship.

It is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its Git Integration.

Development

git checkout master
npm install
npx prisma init --datasource-provider mongodb # if no prisma folder has been generated
touch .env # create a .env file
# add DATABASE_URL = "mongodb+srv://userName:password@mycluster.emeuyw6.mongodb.net/ledgerdev?retryWrites=true&w=majority" inside .env file
npx prisma generate
npm run dev

Prisma Updates

After updating Prisma models, you will need to generate the Prisma models and apply to the Mongo DB.

npx prisma db push

Open up http://localhost:3000 and you should be ready to go!

About

Simple ledger application built with Remix and MUI. Backed by Mongo Atlas and deployed on Vercel.

https://ledger-eta.vercel.app


Languages

Language:TypeScript 52.9%Language:JavaScript 46.2%Language:CSS 0.9%Language:SCSS 0.0%