Code Monkey home page Code Monkey logo

synonym_app's Introduction

Synonym App

A simple Flask application that allows users to find synonyms for a given word. This app uses Datamuse API to find the synonyms.

Following are the prerequisites while creating Synonym App.

  • Python 3
  • Git

To run Synonym App from local machine

  1. Open Terminal.

  2. Change the current working directory to the location where you want the cloned directory.

  3. Type git clone https://github.com/sanjaykarki/synonym_app.git and press Enter to create your local clone

    $ git clone https://github.com/sanjaykarki/synonym_app.git
    Cloning into 'synonym_app'...
    remote: Enumerating objects: 17, done.
    remote: Counting objects: 100% (17/17), done.
    remote: Compressing objects: 100% (13/13), done.
    remote: Total 17 (delta 6), reused 12 (delta 3), pack-reused 0
    Receiving objects: 100% (17/17), 23.77 KiB | 4.75 MiB/s, done.
    Resolving deltas: 100% (6/6), done.
    
  4. Type cd synonym_app to change working directory to synonym_app and set up a virtual environment to isolate the project’s dependencies.

    • For macOS/Linux
      $ python3 -m venv venv
      $ . venv/bin/activate
      
    • For Windows
      > py -3 -m venv venv
      > venv\Scripts\activate
      
  5. Install required dependency using pip install -r requirements.txt

  6. Run the application using flask run

    $ flask run
    * Debug mode: off
    WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
    * Running on http://127.0.0.1:5000
    Press CTRL+C to quit
    
  7. Visit http://127.0.0.1:5000 in your browser to see the application.

synonym-app

synonym_app's People

Contributors

sanjaykarki avatar

Watchers

 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.