Skip to content

Dictionary lookup app allows you to add new words daily and search for their meanings.

Notifications You must be signed in to change notification settings

KatanaSword/dictionary-lookup-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary Lookup CLI

A command-line interface (CLI) application that allows users to search for words and add new words to a MongoDB-based dictionary.

Installation

  1. Clone the repository:

    git clone https://github.com/KatanaSword/dictionary-lookup-cli.git
    cd dictionary-lookup-cli
  2. Create a virtual environment and activate it:

    python -m venv .venv
    .\.venv\Scripts\activate  # On Mac use `source .venv/bin/activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Set up your environment variables: Create a .env file in the project root directory and add your MongoDB connection string:

    MONGODB_URL=your_mongodb_connection_string_here
    

Usage

Run the Dictionary Lookup CLI:

python app.py

Follow the on-screen menu to search for a word or add a new word to the dictionary:

  1. Search Word in Dictionary
  2. Add New Word to Dictionary
  3. Exit App

Environment Variables

MONGODB_URL: Your MongoDB connection string for accessing the dictionary collection.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Dictionary lookup app allows you to add new words daily and search for their meanings.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages