I want to create a static site of backend API document for communication between frontend and backend engineers. Because I don’t want to manage the server and estimate usage of team members is low, I survey two solutions, which are GCP Endpoint and Heroku. I finally choose Heroku free price plan. Steps for setup Step 1 Download standalone version of swagger-ui package on github.com and unzip/decompress source-code file. Copy dist
read moreI want to show I can code using React hook, so I develop a project of calendar and show it on GitHub pages. Source code is placed on GitHub and demo is showed on GitHub pages. This is been tested on Chrome and Safari. Figure 1. Calendar component.
read moreIt’s inconvenient for knowing a target room whether it had had flooded by water as browsing catalog or list of rooms. One normal way is to use brower pages by continue switching for searching rooms' related information, but this behavior is exhausted for most people. I had created a firefox extension: RoomFlooding_TaipeiInfo for finding flooding records of rent rooms in Taipei city. It shows green background color with congratulation message
read moreIn my leisure time at July and first part of this August 2021, I have tried to use packages of express, passport, graphql, graphql-passport, join-monster, knex, graphql-relay, and express-session, etc… for building graphql API server. I have successfully built it in early stage. In summary for quick, it’s impossible for me to create pagination mechanism using graphql-relay package automatically. All of I expect to use graphql-relay and join-monster packages together
read moreRecently, I want to create a web extension for assisting to lookup information I need. In the web extension, I need to use the power of a npm package to complete some parts for me. But I have found v3 of manifest_version of chrome and v2 of manifest_version of firefox they don’t recommend to include outer packages with obfuscated version, this instruction lets me hesitating. I think there are many
read moreIf you want to upload file content to remote server using Angular, there are roughly two kinds of methods can achieve requirements. First is about raw file content. You can upload raw content with other values of form fields together, and their values will be separated automatically by browsers using Content-Type: multipart/form. myForm: FormGroup = null; fileName: string = ''; /** * constructor of a component */ constructor( private _formBuilder:
read more