MIDB is a software platform for creating a website to collect and display data about movies, with a focus on diversity. Please note that MIDB is a working title and may be subject to change.
This project is set up using Bun and has only been tested with Bun.
To run the project, you will need the following prerequisites: a PostgreSQL database, a mail server, and a Bun runtime environment. You must set the following environment variables, which can be done using an .env file:
EMAIL_SERVER=smtp://apikey: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@smtp.sendgrid.net:465
EMAIL_SERVER_USER=apikey
EMAIL_SERVER_PASSWORD=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
EMAIL_SERVER_HOST=smtp.sendgrid.net
EMAIL_SERVER_PORT=465
EMAIL_FROM=[email protected]
DB_CONNECTION=postgres://postgres:[email protected]:5432/midb
AUTH_SECRET=secret
To get started, follow these steps, migration run at starup time:
- Install the project dependencies.
bun install
- Run the development server. This project is based on SvelteKit.
bun run dev