Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Latest commit

 

History

History
23 lines (14 loc) · 846 Bytes

README.md

File metadata and controls

23 lines (14 loc) · 846 Bytes

odict-web

odict-web is an experimental web frontend for browsing ODict dictionaries.


Developer Setup

Build your node_modules:

yarn install

Run the project:

yarn dev

To connect to a local/remote DB, make sure to change the connection string in the .env file to match its credentials, port, and name. To start, we'd create an empty DB with CREATE DATABASE odict;. Then, Prisma does the rest of the work ✨.

We use Prisma as an ORM for our Postgres DB. All documentation related to Prisma is located on Prisma's official website. We have a Prisma schema set up to create/link to the database tables. Simply run yarn prisma migrate dev --name init to create the first migration. After, we load all ODXML dictionaries into the DB with the yarn prisma db seed command.