Coder Social home page Coder Social logo

aocattleya / minibooksearch Goto Github PK

View Code? Open in Web Editor NEW
31.0 3.0 9.0 283 KB

:green_book: Simple book management system using Web API "openBD" / Python(Flask)+ Vue.js + Elasticsearch

Python 3.54% JavaScript 91.37% CSS 0.91% HTML 4.19%
python flask flask-application vuejs webapi openbd elasticsearch

minibooksearch's Introduction

booksearch

📗 詳しい内容:Qiita

こちらに簡易書籍管理システムについての内容をまとめています。

📗 開発環境

  • Python
  • Flask
  • Elasticsearch
  • Vue.js
  • VSCode(Visual Studio Code)

📗 アプリ機能

1、書籍の登録

ISBNコードは、世界共通で図書を認識する為に記載される書籍の裏に書かれている番号です。

booksearch

2、書籍の検索

登録した書籍とマッチする検索結果が表示される

knsk

3、書籍の詳細表示

検索結果をクリックすると「openBD」から受け取った書籍情報が表示される

knskkk

4、一覧表示機能

これまでに登録した書籍をすべて表示させる機能です。

knskk

📗 全体的な仕組み

minibooksearch

📗 動作環境

Python(Flask) + Elasticsearch 内部で『openBD』を呼び出して動作しています。

  • Java1.8
    • Elasticsearchを動作させるのに必要(JREではなくJDK)
  • Elasticsearch6.3
    • 2つのプラグインをインストール
      • ICU Analysis
      • Japanese (Kuromoji) Analysis
    • http://localhost:9200 でアクセスできることを確認する
  • pip install elasticsearch
  • pip install Flask

📗 使用方法

1、python initialize.py
Elasticseachの初期化、「setting.json」「mapping.json」を参照しています。
すでに、当該INDEXが作成されていた場合には、そのINDEXは削除されます。

2、python app.py
Flask+アプリの実行、次のような画面が出れば成功
Screenshot_20181219-214044.jpg

3、ブラウザでアクセス
http://localhost:8080

minibooksearch's People

Contributors

aocattleya avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

minibooksearch's Issues

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.