项目作者: iknowmac

项目描述 :
A React, MongoDB, Express, & Node project template
高级语言: JavaScript
项目地址: git://github.com/iknowmac/ramen.git
创建时间: 2017-02-03T04:16:00Z
项目社区:https://github.com/iknowmac/ramen

开源协议:MIT License

下载


RaMEN Starter Project

React, MongoDB, Express, & Node

Features

Client

  • webpack and webpack-dev-server as a client-side module builder and module loader.
  • React and JSX as a virtual Dom JavaScript library for rendering user interfaces (views).
  • Redux as an incredibly simple way of modelling your data app state, with great community support.
  • Redux DevTools Extension as a live-editing environment for your Redux apps.
  • eslint-plugin-react for additional React specific linting rules.
  • Sass as a compiler of CSS styles with variables, mixins, and more.

Server

  • Node as an event-driven, non-blocking I/O model that is lightweight and efficient.
  • Express is a fast, un-opinionated, minimalist web framework for Node.js
  • MongoDB as a document-oriented database designed for scalability.
  • Mongoose is an elegant mongodb object modeling system for node.js

Shared

  • npm as a package manager and task runner (say NO to gulp/grunt).
  • Babel 6 as a transpiler from ES6 to ES5.
  • ESLint as a reporter for syntax and style issues.
  • Mocha as a test framework.
  • Chai as a BDD assertion library that works along with Mocha.

Getting Started

Install the app

  1. $ git clone https://github.com/towen/ramen.git RaMEN
  2. $ cd RaMEN
  3. $ npm install

Add the sample data

  1. $ npm run seed

Start the app

  1. $ npm start

Development

  • Development via the webpack dev server:
    • $ npm start
    • Open http://localhost:3000/ in your browser, pages ‘hot reload’ automatically when there are changes

Production

  • Production client:
    • $ npm run build
    • Located in ./build

Testing

  1. $ npm test

TODO

  • Make the whole project less opinionated
  • Implement Flow for type checking
  • Add more tests

License

MIT