This is a starter application that uses Angular, Bootstrap 4, Angular CLI, and Form.io to create a Serverless form-based application.
This starterkit is based off of an Angular CLI application. Because of this, you will need to install the CLI tool and launch this application using ng serve
npm install -g @angular/cli
ng serve
This will launch an Angular application @ http://localhost:4200 in your browser. You can go there to try out the default application.
You can also use this application with your own Form.io project. This will use the API's provided by your project to host all of the data for this application.
First login or create an account @ Form.io
Create a new project called "Event Manager"
Under Advanced Options, click on Upload A Project Template, then select the /src/project.json
file from this repository.
Click on Create Project button.
After the project is created, copy the API path of your project. It should look like https://yourproject.form.io
Make the following change to the src/config.ts
file, and replace [PROJECT_API]
with the api of your project.
import { FormioAppConfig } from 'angular-formio';
import { FormioAuthConfig } from 'angular-formio/auth';
export const AppConfig: FormioAppConfig = {
appUrl: '[PROJECT_API]',
apiUrl: 'https://api.form.io',
icons: 'fontawesome'
};
export const AuthConfig: FormioAuthConfig = {
login: {
form: 'user/login'
},
register: {
form: 'user/register'
}
};
Launch the application using...
ng serve
You are now hosting all of the data from this application within your own Form.io project.
Enjoy!
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。