├── .gitignore ├── .prettierrc ├── App.tsx ├── CNAME ├── README.md ├── architecture.png ├── component ├── AMISRenderer.tsx ├── AddPageModal.tsx ├── AddProjectModal.tsx ├── AsideMenu │ └── index.tsx ├── SiteHeader │ └── index.tsx └── common │ ├── Card.tsx │ ├── Empty.tsx │ ├── NotFound.tsx │ └── UserInfo.tsx ├── config └── index.ts ├── deploy-gh-pages.sh ├── development.md ├── document.md ├── editor.html ├── editor └── MyRenderer.tsx ├── fis-conf.js ├── images └── cover.png ├── index.html ├── index.tsx ├── loadMonacoEditor.ts ├── mod.js ├── package.json ├── prerun.js ├── renderer └── MyRenderer.tsx ├── route ├── Editor.tsx ├── Preview copy.tsx ├── Preview.tsx ├── index.tsx ├── login │ ├── index.tsx │ └── style.scss └── project │ └── index.tsx ├── sailor-server ├── .env ├── .env.prod ├── .gitignore ├── Jenkinsfile ├── _templates │ └── sailor-admin │ │ ├── .gitignore │ │ ├── README.md │ │ ├── index.html │ │ ├── mock │ │ ├── axiosMock.ts │ │ ├── customer.db.js │ │ ├── customer.js │ │ ├── form │ │ │ └── save.json │ │ ├── index.js │ │ ├── login.json │ │ ├── notFound.json │ │ ├── saveWizard.json │ │ └── server.conf │ │ ├── nodemon.json │ │ ├── package.json │ │ ├── pages │ │ ├── console.json │ │ └── site.json │ │ ├── public │ │ └── logo.png │ │ └── server.js ├── config.js ├── config │ ├── db.js │ └── log4js.js ├── controller │ ├── project.js │ └── user.js ├── index.js ├── middleware │ ├── getUser.js │ ├── resformat.js │ └── userLogin.js ├── models │ ├── auth.js │ └── project.js ├── package.json ├── routes │ └── api.js └── utils │ ├── download.js │ ├── encrypt.js │ └── logger.js ├── screenshots ├── edit.png ├── edit0.png └── project.png ├── scss └── style.scss ├── store ├── Page.ts ├── Project.ts ├── User.ts └── index.ts ├── tsconfig.json └── utils ├── constants.js ├── fetcher.ts └── index.ts /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/.prettierrc -------------------------------------------------------------------------------- /App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/App.tsx -------------------------------------------------------------------------------- /CNAME: -------------------------------------------------------------------------------- 1 | sailor.giscafer.com 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/README.md -------------------------------------------------------------------------------- /architecture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/architecture.png -------------------------------------------------------------------------------- /component/AMISRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/AMISRenderer.tsx -------------------------------------------------------------------------------- /component/AddPageModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/AddPageModal.tsx -------------------------------------------------------------------------------- /component/AddProjectModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/AddProjectModal.tsx -------------------------------------------------------------------------------- /component/AsideMenu/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/AsideMenu/index.tsx -------------------------------------------------------------------------------- /component/SiteHeader/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/SiteHeader/index.tsx -------------------------------------------------------------------------------- /component/common/Card.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/common/Card.tsx -------------------------------------------------------------------------------- /component/common/Empty.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/common/Empty.tsx -------------------------------------------------------------------------------- /component/common/NotFound.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/common/NotFound.tsx -------------------------------------------------------------------------------- /component/common/UserInfo.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/component/common/UserInfo.tsx -------------------------------------------------------------------------------- /config/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/config/index.ts -------------------------------------------------------------------------------- /deploy-gh-pages.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/deploy-gh-pages.sh -------------------------------------------------------------------------------- /development.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/development.md -------------------------------------------------------------------------------- /document.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/document.md -------------------------------------------------------------------------------- /editor.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/editor.html -------------------------------------------------------------------------------- /editor/MyRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/editor/MyRenderer.tsx -------------------------------------------------------------------------------- /fis-conf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/fis-conf.js -------------------------------------------------------------------------------- /images/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/images/cover.png -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/index.html -------------------------------------------------------------------------------- /index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/index.tsx -------------------------------------------------------------------------------- /loadMonacoEditor.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/loadMonacoEditor.ts -------------------------------------------------------------------------------- /mod.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/mod.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/package.json -------------------------------------------------------------------------------- /prerun.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/prerun.js -------------------------------------------------------------------------------- /renderer/MyRenderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/renderer/MyRenderer.tsx -------------------------------------------------------------------------------- /route/Editor.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/Editor.tsx -------------------------------------------------------------------------------- /route/Preview copy.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/Preview copy.tsx -------------------------------------------------------------------------------- /route/Preview.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/Preview.tsx -------------------------------------------------------------------------------- /route/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/index.tsx -------------------------------------------------------------------------------- /route/login/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/login/index.tsx -------------------------------------------------------------------------------- /route/login/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/login/style.scss -------------------------------------------------------------------------------- /route/project/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/route/project/index.tsx -------------------------------------------------------------------------------- /sailor-server/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/.env -------------------------------------------------------------------------------- /sailor-server/.env.prod: -------------------------------------------------------------------------------- 1 | NODE_ENV=production 2 | 3 | -------------------------------------------------------------------------------- /sailor-server/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/.gitignore -------------------------------------------------------------------------------- /sailor-server/Jenkinsfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/Jenkinsfile -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/.gitignore -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/README.md -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/index.html -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/axiosMock.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/axiosMock.ts -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/customer.db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/customer.db.js -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/customer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/customer.js -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/form/save.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/form/save.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/index.js -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/login.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/login.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/notFound.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/notFound.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/saveWizard.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/saveWizard.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/mock/server.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/mock/server.conf -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/nodemon.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/package.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/pages/console.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/pages/console.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/pages/site.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/pages/site.json -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/public/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/public/logo.png -------------------------------------------------------------------------------- /sailor-server/_templates/sailor-admin/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/_templates/sailor-admin/server.js -------------------------------------------------------------------------------- /sailor-server/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/config.js -------------------------------------------------------------------------------- /sailor-server/config/db.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/config/db.js -------------------------------------------------------------------------------- /sailor-server/config/log4js.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/config/log4js.js -------------------------------------------------------------------------------- /sailor-server/controller/project.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/controller/project.js -------------------------------------------------------------------------------- /sailor-server/controller/user.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/controller/user.js -------------------------------------------------------------------------------- /sailor-server/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/index.js -------------------------------------------------------------------------------- /sailor-server/middleware/getUser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/middleware/getUser.js -------------------------------------------------------------------------------- /sailor-server/middleware/resformat.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/middleware/resformat.js -------------------------------------------------------------------------------- /sailor-server/middleware/userLogin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/middleware/userLogin.js -------------------------------------------------------------------------------- /sailor-server/models/auth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/models/auth.js -------------------------------------------------------------------------------- /sailor-server/models/project.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/models/project.js -------------------------------------------------------------------------------- /sailor-server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/package.json -------------------------------------------------------------------------------- /sailor-server/routes/api.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/routes/api.js -------------------------------------------------------------------------------- /sailor-server/utils/download.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/utils/download.js -------------------------------------------------------------------------------- /sailor-server/utils/encrypt.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/utils/encrypt.js -------------------------------------------------------------------------------- /sailor-server/utils/logger.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/sailor-server/utils/logger.js -------------------------------------------------------------------------------- /screenshots/edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/screenshots/edit.png -------------------------------------------------------------------------------- /screenshots/edit0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/screenshots/edit0.png -------------------------------------------------------------------------------- /screenshots/project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/screenshots/project.png -------------------------------------------------------------------------------- /scss/style.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/scss/style.scss -------------------------------------------------------------------------------- /store/Page.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/store/Page.ts -------------------------------------------------------------------------------- /store/Project.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/store/Project.ts -------------------------------------------------------------------------------- /store/User.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/store/User.ts -------------------------------------------------------------------------------- /store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/store/index.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/constants.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/utils/constants.js -------------------------------------------------------------------------------- /utils/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/utils/fetcher.ts -------------------------------------------------------------------------------- /utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/giscafer/sailor/HEAD/utils/index.ts --------------------------------------------------------------------------------