Skip to content

springAppl/hulk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

小程序管理后台前端项目
在启动前端项目之前,需要先启动后端项目kuboot
对应的小程序anna

nginx配置: 1在本地/etc/hosts文件中添加

admin.mini.com 127.0.0.1

2创建 mini.conf

server {
listen 80;
server_name  www.news.com admin.mini.com;
location ^~ /api/ {
        proxy_pass http://127.0.0.1:8080;
}
location / {
        proxy_pass  http://127.0.0.1:3000;

}
}

3nginx.conf中包含 mini.conf

http {
  .....
  include path/mini.conf
}

采用yarn启动,因为采用npm会碰到各种包的问题,所以采用yarn

启动过程:
1 yarn
2 yarn start

访问 http://admin.mini.com
后端swagger地址: http://kuboot.cn/swagger-ui.html

About

小程序管理,小程序后台装修

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors