1 Star 0 Fork 0

流浪书生 / angular-app-starterkit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Form.io Angular Starter Application

This is a starter application that uses Angular, Bootstrap 4, Angular CLI, and Form.io to create a Serverless form-based application.

Usage

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.

Using your own Form.io Project

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.

  1. First login or create an account @ Form.io

  2. Create a new project called "Event Manager"

  3. Under Advanced Options, click on Upload A Project Template, then select the /src/project.json file from this repository.

  4. Click on Create Project button.

  5. After the project is created, copy the API path of your project. It should look like https://yourproject.form.io

  6. 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'
      }
    };
  7. Launch the application using...

    ng serve

You are now hosting all of the data from this application within your own Form.io project.

Enjoy!

空文件

简介

Angular 7 + Bootstrap 4 application starter kit using Form.io 展开 收起
TypeScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
TypeScript
1
https://gitee.com/yyalon/angular-app-starterkit.git
git@gitee.com:yyalon/angular-app-starterkit.git
yyalon
angular-app-starterkit
angular-app-starterkit
master

搜索帮助