View and manipulate 3D models of molecules and compounds, allowing you to gain a better understanding of their structure, properties, and interactions.
- Create a Planetscale account or setup a MySQL database.
- Create a Prisma Cloud account and setup accelerate with your database.
- Copy
.env.example
to.env
and replaceDATABASE_URL
with your Prisma accelerate url, andDIRECT_URL
with your database url. - Push the schema to the database
yarn prisma db push
- (Optional) Seed the database
# WARNING: THIS WILL DELETE ALL CONTENTS OF THE DATABASE yarn prisma db seed
- Install project dependencies
yarn
- Generate Prisma Client
yarn gen
- Finally, run the development server
Open http://localhost:3000 with your browser to see the result.
yarn dev