Skip to content

koa+react 工程项目骨架,ssr模式,支持mysql和mongodb数据库

Notifications You must be signed in to change notification settings

hujinbin/koa-react-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

介绍

基于koa+react+webpack搭建的脚手架,后端代码和前端代码在一个项目中,ssr服务

使用案例

惊觉: https://jue.leheavengame.com

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
# 使用webpack-dev-server运行
npm run start

# serve with hot reload at localhost:3000
# 先安装nodemon
npm run dev

# build for production with minification
npm run build

# 服务端运行
npm run server

# 服务端开始 pm2 进程保护运行
npm run startpm

# 杀死 pm2 进程
npm run delpm

本项目持续更新中。。。

About

koa+react 工程项目骨架,ssr模式,支持mysql和mongodb数据库

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published