TheOpenDictionary / web-old

An online bilingual dictionary powered by the ODict file format 🌐

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

An online bilingual dictionary powered by the ODict file format 🌐

License:MIT License


Languages

Language:TypeScript 72.8%Language:JavaScript 13.5%Language:Svelte 10.0%Language:HTML 2.6%Language:Shell 0.5%Language:CSS 0.5%