warrior 23d19933a7 Merge branch 'master' of http://git.fmode.cn:3000/bin/edu-textbook | 3 долоо хоног өмнө | |
---|---|---|
.vscode | 5 сар өмнө | |
docker | 4 сар өмнө | |
docker-front | 4 сар өмнө | |
docker-office | 2 сар өмнө | |
docs | 1 сар өмнө | |
projects | 3 долоо хоног өмнө | |
public | 4 сар өмнө | |
server | 4 долоо хоног өмнө | |
src | 5 сар өмнө | |
.editorconfig | 5 сар өмнө | |
.gitignore | 4 сар өмнө | |
README.md | 4 сар өмнө | |
angular.json | 5 сар өмнө | |
deploy-www.sh | 4 сар өмнө | |
ionic.config.json | 5 сар өмнө | |
package-lock.json | 4 сар өмнө | |
package.json | 4 сар өмнө | |
tsconfig.app.json | 5 сар өмнө | |
tsconfig.json | 5 сар өмнө | |
tsconfig.spec.json | 5 сар өмнө |
测试环境
数据库链接 postgresql://postgres@127.0.0.1:25432/
# 启动项目
cd server/
npm i -f
npm run start
/server
npx vite build
cp ./dist/server/server.js temp-server.js
node temp-server.js --local
管理看板
parse-dashboard --appId edu-textbook --masterKey "EDU2024" --serverURL http://8.140.98.43/parse --appName EduTextbook
ALTER USER postgres WITH PASSWORD 'Edu2024textbask';
-- 生产用户 psql --dbname=postgresql://textbook:Edu2024textbask@pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com:5432/textbook
CREATE DATABASE textbook; CREATE USER textbook WITH PASSWORD 'Edu2024textbask'; GRANT ALL PRIVILEGES ON DATABASE textbook TO textbook; GRANT ALL PRIVILEGES ON SCHEMA public TO textbook;
--rds-- PostgreSQL
psql --dbname=postgresql://admin_user@pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com:5432/
实例ID: pgm-2zehqf5x28989whc 内网地址:pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com 公网地址:pgm-2zehqf5x28989whc1o.pg.rds.aliyuncs.com 高权限账号:admin_user 密码:DCG!MfwW7fpvA ----注意高权限账号建库建表后要回收,给普通权限账号----
---oss--- Bucket: hep-textbook 用户登录名称 hep-textbook-api@cloudhep.onaliyun.com AccessKey ID: LTAI5t6AbTiAvXmeoVdJZhL3 AccessKey Secret: KLtQRdIW69KLP7jnzHNUf7eKmdptxH 内网地址:oss-cn-beijing.aliyuncs.com 外网地址:oss-cn-beijing-internal.aliyuncs.com
https://lljydpt8egql.u2-dev.hep.com.cn/
AccessKey ID:
6682ab96b7
AccessKey Secret:
4cfc095a72
AppID 6682ab96b7
AppSecret 4cfc095a72
Token 端点 https://textbook.u2-dev.hep.com.cn/oidc/token
用户信息端点 https://textbook.u2-dev.hep.com.cn/oidc/me
登出端点 https://textbook.u2-dev.hep.com.cn/oidc/session/end
JWKS 公钥端点 https://textbook.u2-dev.hep.com.cn/oidc/.well-known/jwks.json
认证端点 https://textbook.u2-dev.hep.com.cn/oidc/auth
Issuer https://textbook.u2-dev.hep.com.cn/oidc
服务发现地址 https://textbook.u2-dev.hep.com.cn/oidc/.well-known/openid-configuration
认真地址 https://textbook.u2-dev.hep.com.cn
对接 Authing SDK 的接口文档:https://api-explorer.authing.cn/?source=Authing%20%E7%AE%A1%E7%90%86%20API
https://api-explorer.authing.cn/?source=Authing%20%E7%94%A8%E6%88%B7%E8%AE%A4%E8%AF%81%20API
用户池 id:6672540d87
测试用户池密钥:491670e7ef
This project was generated with Angular CLI version 18.0.4.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.