This project provides a web interface around npm package dictionary-scraper
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
This project is primarily built on the dictionary-scraper npm package. It enhances the package’s functionality by adding caching and access information. Additionally, it provides Google authentication to allow the application to store records for each user. The application also includes a minimal web interface, providing users with exactly what they need.
- Node.js 22
- Docker
- Google OAuth 2.0 secret. Go to Google Cloud to create your own client-id and client-secret.
- Postgresql
- Copy .env.example to .env.production and set all the necessary properties.
- Run
yarn app:install
. - Run
yarn start:prod
to launch the application.
Visit http://localhost:3000 to access the web page.
The docker-compose.yml file includes a PostgreSQL container, so no additional setup is needed to configure a database.
- Copy .env.example to .env and set all the required properties.
- Run
docker-compose up migrate --build && docker-compose down migrate --rmi local --volumes
. This command will start the PostgreSQL server, create the database, and set up the necessary tables. - Start the application container with
docker-compose up app -d --build
Visit http://localhost:3000 to access the web page.
This installation only creates the app container. You will need to set up your own PostgreSQL instance separately.
- Copy .env.example to .env and set all the required properties.
- Run
docker-compose up migrate --build && docker-compose down migrate --rmi local --volumes
. This command will start the PostgreSQL server, create the database, and set up the necessary tables. - Build app image:
docker build -t app .
- Start the application container with
docker run -d --name app --env-file .env -p 3000:3000 app
Visit http://localhost:3000 to access the web page.
- Delete/Export data
See the open issues for a full list of proposed features (and known issues).
Distributed under the MIT License. See LICENSE.txt
for more information.
Kamrul H Shourov - shourov.kamrul@gmail.com
Project Link: https://github.com/khshourov/dictionary-api