The official repository for the Medici web application.
To run this app, you will need to connect it up with a database. I use a PostgreSQL database, but you can use any database supported by Prisma. The connection string should be stored in a .env
file in the root of the project. The .env
file should look like this (replace with your own database connection string):
DATABASE_URL=postgres://user:password@host:port/database
To set this project up locally, clone the repository and install the dependencies with npm install
(or pnpm install
or yarn
), then start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment. I use Vercel, so I use the Vercel adapter.