GithubHelp home page GithubHelp logo

cshg / gobble-dist-web Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gobble43/gobble-dist-web

0.0 1.0 0.0 706 KB

Front end web file server.

License: MIT License

JavaScript 85.56% CSS 6.06% HTML 8.38%

gobble-dist-web's Introduction

Build Status

Stories in Ready

gobble-dist-web

Front end web file server - Universal React Redux

Table of Contents

  1. Getting started
  2. Tech
  3. Directory Layout
  4. Team
  5. Contributing

Getting started

Clone and install dependencies:

$ https://github.com/gobble43/gobble-dist-web.git
$ cd gobble-dist-web
$ npm install

Create env/development.env and set environment variables. Follow env/example.env.

$ npm run bundle
$ npm start

Testing

Configure the environment variable NODE_ENV prior to running tests.

$ export NODE_ENV=development
$ npm test

Tech

  • React w/ React Router
  • Redux
  • Node
  • Express
  • Jade
  • Facebook OAuth2

Directory Layout

├── /env/                       # Environment variables
├── /node_modules/              # 3rd-party libraries and utilities
├── /client/                    # Client React-Redux Entry Points
├── /common/                    # Universal React Components & Redux State Management
├── /server/                    # Server source
│   ├── /config/                # Initial server configuration
│   ├── /lib/                   # Utilities
│   ├── /routes/                # Routes
│   │   ├── auth-routes         # PassportJS Facebook OAuth endpoints
│   │   └── jade-only-routes    # Server-side rendering - only Jade
│   │   └── react-redux-routes  # Server-side rendering - Jade + React + Redux
│   ├── /views/                 # Jade templates
│   └── server.js               # Express application entry point
├── /dist/                      # Distribution
│   ├── /fonts/                 # Fonts
│   ├── /js/                    # Bundled Client React-Redux Entry Points
│   ├── /style/                 # CSS
│   └── server.bundle.js        # Bundled Express Server
├── package.json                # npm dependencies, scripts, and package info
├── webpack.config.js           # Webpack Configurations
└── .eslintrc                   # ESLint settings

Team

Contributing

See STYLE-GUIDE.md and CONTRIBUTING.md for contribution guidelines.

gobble-dist-web's People

Contributors

jackrzhang avatar willwtang avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.