• Stars
    star
    119
  • Rank 297,930 (Top 6 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created almost 8 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

😊👻基于react->express->mongo技术栈的同构SPA

isomorphic-redux-forum

language stars fork Travis

About

基于React->Node->Mongo技术栈的类CNode社区同构单页Web应用,关于此项目开发过程中的经验总结移步我的技术博客相关文章:使用React SSR构建Isomorphic应用

用到的技术栈

  • React 构建Web组件
  • React-router 客户端路由及ssr路由
  • redux 管理应用state
  • react服务端渲染 实现同构
  • node/express 提供服务
  • webpack 构建
  • webpack-isomorphic-tools 处理ssr静态资源
  • JWTs 前后端分离下的token验证
  • Ant Design 构建UI
  • redux-devtools 开发者工具
  • mongodb/mongoose 提供数据库管理

项目线上Demo

bbs.luoxia.me

运行Demo

安装依赖

npm install

配置文件

修改配置文件config.js,指定自己的数据库地址,端口,数据库,用户名和密码

编译

npm run build

运行Node server

npm run start

访问3000端口

开发环境

安装依赖

npm install

启动webpack server

npm run run-dev-server

启动express服务器

npm run run-server

访问服务:3000端口(包含了HMR)

Docker部署说明

Dockerfile部署Node镜像, docker-compose.yml以node+mongodb+nginx来写的,可以根据自己需要进行配置。

TODO

  • 修复bugs
  • 修改文章
  • 修改个人资料
  • 进一步优化UI
  • 单元测试

More Repositories

1

web-performance

Web性能的方方面面🚀
712
star
2

mlhelper

Algorithms and utils for Machine Learning in JavaScript.
TypeScript
638
star
3

yohe

😈 powerful static blog generator
JavaScript
69
star
4

excel-class

a module helping to handle excel based on js-xlsx
JavaScript
20
star
5

vue-express-forum

基于vuejs,express,mongodb的多人论坛webapp😛
JavaScript
14
star
6

Oauth-example

Oauth example imitate Github Oauth App
JavaScript
9
star
7

CNVD-crawler

CNVD-crawler for 创新实践
JavaScript
7
star
8

vue-memo

基于Vuejs的备忘录webapp
JavaScript
3
star
9

product-thinking

Think about products from a programmer's point of view
2
star
10

egg-extra-loader

提供更加方便的loader扩展
JavaScript
2
star
11

CW-haskell

solutions for codewars kata in haskell.
Haskell
2
star
12

socket.io-demo

基于socket.io的聊天系统
JavaScript
1
star
13

life

the life part of my blog www.luoxia.me/life
CSS
1
star
14

Wunderlist-RN

📝奇妙清单RN版😆😚
JavaScript
1
star
15

JSON

json decoder & encoder
JavaScript
1
star
16

secretBox

秘密盒zi powered by Egg.js
JavaScript
1
star
17

SSH-example

java web作业备忘
Java
1
star
18

daily-exc

daily exercise for HW fe member
1
star
19

yohe_site

test for yohe blog generator
HTML
1
star
20

weApp-HW

微信小程序By HW团队
JavaScript
1
star
21

Reactive

Reactive programming with different ways
JavaScript
1
star
22

fullpage

test fullpage
JavaScript
1
star
23

algbox

Providing algorithm ecology for the JavaScript community.
TypeScript
1
star
24

industrial-safety

JavaScript
1
star
25

code

个人主页www.luoxia.me下的技术博客版块:www.luoxia.me/code
CSS
1
star
26

laoqiren.github.io

CSS
1
star
27

notes-service

for notes
JavaScript
1
star
28

laoqiren

personal profile readme
1
star
29

compiler

Compiler principle experiments.
JavaScript
1
star
30

leetcode

1
star
31

security-guard

Providing security guards for Node.js applications.
TypeScript
1
star
32

Regular-types

Type declaration for Regularjs
1
star