官术网_书友最值得收藏!

Creating a React Bootstrap project with TypeScript support

As we discussed in Chapter 2, Creating a Markdown Editor with TypeScript, it is a good idea to start off by gathering the requirements of the application that we are going to write. Here are the requirements for this chapter:

  • The user will be able to create new details of a person or edit them
  • These details will be saved to a client-side database
  • The user will be able to load the list of all people
  • The user will be able to delete the personal details of a person
  • The personal details will consist of the first and last names, the address (made up of two address lines, the town, the county, and the zip code), the phone number, and the date of birth
  • The personal details will be saved to the database
  • The first name will be at least one character and the last name will be at least two characters
  • Address line 1, town, and county will be at least five characters
  • The zip code will conform to the American standard for most zip codes
  • The phone number will conform to the standard American phone format
  • The user can clear details with the click of a button
主站蜘蛛池模板: 祁门县| 新宾| 清丰县| 会东县| 耿马| 加查县| 卓尼县| 泽州县| 衡山县| 许昌市| 敦化市| 普安县| 比如县| 威信县| 常德市| 攀枝花市| 方城县| 四子王旗| 义乌市| 常熟市| 柞水县| 黄山市| 巴彦淖尔市| 宁城县| 龙泉市| 嘉鱼县| 太仓市| 米脂县| 蛟河市| 温泉县| 扎赉特旗| 芦山县| 安西县| 崇文区| 北海市| 林州市| 营口市| 新源县| 静乐县| 马龙县| 丰原市|