Skip to content

Creating a new Form

  • Create a database table

    • Log into Xata.io and open the nmsud-submission database
    • Create a new table
      • Specify the data types per column, it is better to keep the fields not null. It helps with the Typescript typings
    • Run npm run db:generate in the project to get the latest types
  • Create new Dto

  • Add new item to the IApiSegment interface in api.ts

  • Create new form page

  • Create API module

Released under the GNU General Public License v3.0.