Giter Site home page Giter Site logo

dictionary's Introduction

Dictionary Application

Light and fast online dictionary app that allows to use custom made dictionaries.

Running

First, you need to build the frontend. Go to src/main/resources/frontend folder and run (npm and node are required):

make dependencies

While working on the frontend it is better to turn on the development mode, since it will refresh your browser after each change in the source code:

make run_webui_dev_server

If you need to add a new dependency, you should modify src/main/resources/frontend/package.json. After that remove old dependencies by removing src/main/resources/frontend/webui/node_modules folder. Rerun:

make dependencies

To run the backend use the following options (Java 8 is required):

server dictionary.yaml

Configuration

Configuration options are stored in dictionary.yaml

Option Description
version version number
dbFullPath path to the database file
dbUser database user name
dbPassword database password

API endpoint

URL Method Description
/info GET information about the API
/dictionary/{id} GET information about a dictionary
/query POST start a search query
/query/{id} GET request a query status
/query/{id}/matches GET list query matches for a given query

dictionary's People

Contributors

ubuntolog avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.