Manage your mammon, and let not your mammon manage you.
This project is built with Next.js, Prisma, and PlanetScale.
To start, run pscale auth login
to login from your console. Then run
pscale connect mammon-manager development --port 3309
to connect to your database on PlanetScale and serve it on your local 3309
port.
Next up, add or update your .env
file at the root of the project, and add this line:
DATABASE_URL="mysql://[email protected]:3309/mammon-manager"
Then simply run npm run dev
to start the app. You can also run npx prisma studio
to start Prisma Studio, which provides a convenient view of the current database.