GithubHelp home page GithubHelp logo

naruwo-github / todolist-web-native-api-db Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 17.74 MB

To Do List Application : Web app, Native app, API, DB.

HTML 8.68% CSS 1.45% JavaScript 22.08% Dockerfile 0.93% TypeScript 66.86%
android express ios mongodb react

todolist-web-native-api-db's Introduction

ToDoList-Web-Native-API-DB

To Do List Application: Web app, Native app, API, DB.

内容

  • ToDoリストのアプリケーション
    • 環境: Dockerによる仮想環境
    • ブラウザアプリ: React.js, TypeScript, Webpack + Babel
    • ネイティブアプリ: Swift(iOS) & Kotlin(Android)
    • API: Node.js, Express, JavaScript TypeScript, Webpack + Babel
    • データベース: MongoDB

プロジェクトの実行方法

  1. dockerイメージを作成(docker-compose build
  2. dockerコンテナの起動(docker-compose up
  3. ブラウザアプリ: localhost:3000
  4. MongoDB: localhost:27017
  5. API: localhost:4000
    • エンドポイントへのアクセス例
      • GET: curl -X GET localhost:4000/tasks
      • POST: curl -X POST -H "Content-Type: application/json" -d '{...}' localhost:4000/tasks
      • PUT: curl -X PUT -H "Content-Type: application/json" -d '{...}' localhost:4000/tasks/:_id
      • DELETE: curl -X DELETE localhost:4000/tasks/:_id
      • レスポンスのJSONを整形して表示するには、パイプで-mjson.toolの実行の入力値にすれば良い: | python -mjson.tool
  6. モックサーバの起動方法(2通り):
    • /browser-app/json_server/にて$(npm bin)/json-server --watch db.json -p 4000を実行
    • /browser-app/にてnpm run json-serverを実行
  7. Testを行う場合
    • ユニットテスト:/browser-app/にてnpm jestを実行(Jestによるテスト)
    • UIテスト:/browser-app/にてnpm run ui-testを実行(Selenium Webdriverによるテスト)

ブラウザアプリ画面(2021/10/02時点)

img

メモ:実装優先順

  1. APIかつDB:実装中
  2. ブラウザアプリ:実装中
  3. ネイティブアプリ:未着手

todolist-web-native-api-db's People

Contributors

naruwo-github avatar

Watchers

James Cloos avatar  avatar

todolist-web-native-api-db's Issues

積みタスク

  • Standard Styleの全ファイルへの適用
  • JSON Serverの導入(ローカルでデバッグできるようにする)
  • Seleniumの導入によるUIテスト
    • 導入
    • コード追記
      • タスク新規作成機能
      • タスク削除機能
      • タスク名更新機能
  • READMEの整備

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.