Code Monkey home page Code Monkey logo

bangkok-transit-planner's Introduction

G'day mate!

These days, I'm more familair with these...

  • JavaScript stacks (node, deno, TS)
  • .netcore/.net5+ stacks (no .netframework plz, sorry ๐Ÿฅฒ)
  • Telemetry collection (openTelemetry, MS Application Insights, telegraf)
  • Code generation (openapi-codegen, swagger)
  • CI Stuff (GitLab CI, GitHub actions, TeamCity)
  • Infrastrcture stuff (openstack, terraform, packer, k(3|8)s, docker, etc.)
  • Home automation (HomeBridge, HomeAssistant)

Active projects

  • Tools for GitLab
    • GitLabKit
    • Generated GitLab API clients (still WIP)

bangkok-transit-planner's People

Contributors

dependabot[bot] avatar encx avatar nantapong44 avatar

Watchers

 avatar  avatar

bangkok-transit-planner's Issues

Production setup

Blocked by #11

  • Infrastructure ? -> Direct install, K8S
  • Packaging ? -> Docker, npm pkg
  • Provider ? -> GCP, AWS, DigitalOcean, Heroku, Azure
  • DB ? -> Postgres, MsSQL, Mongo, Neo4j, Couchbase
  • Domain ?

State management ?

Use state management tools ?

  • Redux
  • MobX
  • or just use useReducer and useContext for app-wide state

Create swagger specs and implement swagger UI

Blocked by #14

Initial swagger specs

swagger: "2.0"
info:
  description: ""
  version: "1.0.0"
  title: "Bangkok Transit Planner API"
schemes:
- "https"
- "http"
paths:
  /stations:
    get:
      summary: Get all stations list
      produces:
        - application/json
      responses:
        200:
          description: Get success
          schema:
            type: array
            items:
              $ref: "#/definitions/station"
        500:
          description: Server error
  /routes:
    get:
      summary: Get all possible routes from station A to station B
      produces:
        - application/json
      parameters:
        - name: from
          in: query
          description: Starting station ID
          type: number
          format: int
          required: true
        - name: to
          in: query
          description: Ending station ID
          type: number
          format: int
          required: true
      responses:
        200:
          description: Get success
          schema:
            type: array
            items:
              $ref: "#/definitions/route"
        500:
          description: Server error
  
definitions:
  station:
    type: object
    properties:
      name:
        type: string
      id:
        type: number
        format: int

  route:
    type: object
    properties:
      cost:
        type: number
      stations:
        type: array
        items:
          $ref: "#/definitions/station"

https://editor.swagger.io/

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.