- install mysql locally on your machine (or use a docker image)
- ask for the .env file secrets
- in order to emulate stripe webhooks, you'll need the stripe CLI is installed: https://stripe.com/docs/stripe-cli#install
npm install
- create two databases in your mysql server:
thumbnail_generator
andthumbnail_generator_shadow
by usingCREATE DATABASE thumbnail_generator
andCREATE DATABASE thumbnail_generator_shadow
- Initialize database
npx prisma migrate dev
- Run server
npm run dev
- Run stripe webhook listener
npm run stripe:listen