Skip to content

jianzhichun/5003

Repository files navigation

MAGIC-AMIS

This is just a project for cityu's 5003 course firstly. However, maybe it is useful and creative.
This is a faas + frontend-low-code based on magic-api and amis.

Quick Start

# This is environment vairables
echo "PORT=8080
MYSQL_ROOT_PASSWORD=123456
MYSQL_TZ=Asia/Shanghai
MAGIC_USER=admin
MAGIC_PASSWORD=123456
PMA_ABSOLUTE_URI=http://localhost:8080/mysql/
HTML_PATH=./infrastructure/frontend/dist" > .env
# U have to install a stable node&npm
npm i && npm run start

Magic Api

Access http://localhost:8080/api/web/index.html

It's a simple faas platform, u can just care about sql or logic.

PS: Plz learn magic-api and sa-token for more information

Default DB

Access http://localhost:8080/mysql/

It's a mysql ide for design and operate mysql db.

AMIS

Access http://localhost:8080/editor/

It's a simple frontend-low-code editor, u can design ur app's ui.

PS: Plz learn amis for more information.

AMIS runtime

After design, u can access http://localhost:8080/ to get ur app.

Workspace

  • infrastructure: the infrastructure for ur app
  • metadata: after design and develop u can find ur app's code is stored in it.
    • /api: the magic-api's data (server metadata)
    • /ui: the amis's data (frontend metadata)

License

Copyright 2019-2021, jianzhichun.

Each package has its own license:

infrastructure/server: MIT (follow magic-api)
infrastructure/frontend/edit: (目前 amis-editor 未开源,但可以免费使用(包括商用))
metadata: Apache License 2.0

So, you can consider this project to be MIT licensed.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published