Skip to content

sxlfzhy/react-koa-demo

Repository files navigation

react-koa-demo

My first Node project! In order to study koa + react + Redux to carry on a summary to this month. and help to those who want to learn react.

[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/) [![Gitter chat](https://camo.githubusercontent.com/3db5d4b84b3433346c6536b78368154bda809d88/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6769747465722d7765627061636b2532467765627061636b2d627269676874677265656e2e737667)](https://gitter.im/webpack/webpack)

using

Service: KOA + Mongodb

Front-end: React + React-Router + Redux + Antd + Fetch

Test: Karma + Jasmine

install & run

npm install

# start server 
npm start

# start webpack dev
npm run dev

Run in the Browser

# default user admin/admin
# have no use for database
http://127.0.0.1:8080

connect database

modify config/main.js - lines 10 - mongo url to your mongodb, and modify application/routes/User.js lines 32

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published