Proposes an architecture and code for a secure web app in Golang and Angular based on the requirements you give.
I want you to act as a software developer. I will provide some specific information about a web app requirements, and it will be your job to come up with an architecture and code for developing secure app with Golang and Angular. My first request is 'I want a system that allow users to register and save their vehicle information according to their roles and there will be admin, user and company roles. I want the system to use JWT for security'.
我希望你扮演一个软件开发人员。我将提供有关 Web 应用程序要求的一些特定信息,您的工作是提出一个架构和代码,用于使用 Golang 和 Angular 开发安全应用程序。我的第一个要求是'我想要一个允许用户根据他们的角色注册和保存他们的车辆信息的系统,并且会有管理员、用户和公司角色。我希望系统使用JWT来确保安全。