All Projects → bsheikh → sunrise

bsheikh / sunrise

Licence: MIT license
The rise of a new project with React, Redux-Saga and React-Router

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
HTML
75241 projects

Projects that are alternatives of or similar to sunrise

laravel-react-boilerplate
Laravel React Boilerplate with Ant Design, Route-Level Code Splitting, Redux, Sanctum Auth
Stars: ✭ 49 (+276.92%)
Mutual labels:  react-router, redux-saga, antd
React Koa Login
koa2 + react + react-router(4.0) + redux + webpack + antd
Stars: ✭ 109 (+738.46%)
Mutual labels:  react-router, antd
React Login
A client side implementation of authentication using react.js for my blog on medium. This is the second part of my previous blog on how to implement scalable node.js server.
Stars: ✭ 105 (+707.69%)
Mutual labels:  react-router, redux-saga
React Admin
基于antd、redux-observable、redux-thunk、react-router响应式SPA脚手架,后台管理系统demo. 权限管理,用户管理,菜单管理。无限级菜单,下拉树形选择框
Stars: ✭ 141 (+984.62%)
Mutual labels:  react-router, antd
React Antd Admin
用React和Ant Design搭建的一个通用管理后台
Stars: ✭ 1,313 (+10000%)
Mutual labels:  react-router, antd
Molecule
⚛️ – :atom: – ⚛️ Boilerplate for cross platform web/native react apps with electron.
Stars: ✭ 95 (+630.77%)
Mutual labels:  react-router, redux-saga
News App By React.js
🌈一个由React.js编写的新闻WebApp。A news WebApp by React.js.
Stars: ✭ 131 (+907.69%)
Mutual labels:  react-router, antd
Patternfly React Demo App
DEPRECATED: This project is no longer active. See https://github.com/patternfly/patternfly-react-seed for PF4 demos.
Stars: ✭ 26 (+100%)
Mutual labels:  react-router, redux-saga
Todo Redux Saga
Todo app with Create-React-App • React-Redux • Redux-Saga • Firebase • OAuth
Stars: ✭ 184 (+1315.38%)
Mutual labels:  react-router, redux-saga
React Admin
基于react的后台管理项目模板
Stars: ✭ 184 (+1315.38%)
Mutual labels:  react-router, antd
Alldemo
🍑 2020全栈学习Demo大合集 包含最新 hooks TS 等 还有umi+dva,数据可视化等实战项目 (持续更新中)
Stars: ✭ 189 (+1353.85%)
Mutual labels:  react-router, antd
Starter Lapis
Cutting edge starter kit
Stars: ✭ 72 (+453.85%)
Mutual labels:  react-router, redux-saga
React Mobx Ts Antd
A simple empty project build with react、react-router、mobx、antd in typescript.
Stars: ✭ 53 (+307.69%)
Mutual labels:  react-router, antd
Spring Security React Ant Design Polls App
Full Stack Polls App built using Spring Boot, Spring Security, JWT, React, and Ant Design
Stars: ✭ 1,336 (+10176.92%)
Mutual labels:  react-router, antd
React Redux Antdesign Webpack Starter
react + redux + ant design + react-router 4 + webpack 4 starter
Stars: ✭ 44 (+238.46%)
Mutual labels:  react-router, antd
Reeakt
A modern React boilerplate to awesome web applications
Stars: ✭ 116 (+792.31%)
Mutual labels:  react-router, redux-saga
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+21284.62%)
Mutual labels:  react-router, redux-saga
Soundcloud Redux
SoundCloud API client with React • Redux • Redux-Saga
Stars: ✭ 681 (+5138.46%)
Mutual labels:  react-router, redux-saga
React Article Bucket
总结,积累,分享,传播JavaScript各模块核心知识点文章全集,欢迎star,issue(勿fork,内容可能随时修改)。webpack核心内容部分请查看专栏: https://github.com/liangklfangl/webpack-core-usage
Stars: ✭ 750 (+5669.23%)
Mutual labels:  react-router, antd
React Interview Questions
300+ React Interview Questions
Stars: ✭ 151 (+1061.54%)
Mutual labels:  react-router, redux-saga

Sunrise Logo

version MIT License pull-requests

Project Details

Creating a new project is time consuming. As developers, we spend more time bootstrapping projects instead of adding functionality. Sunrise is tackling this problem by helping developers easily get up and running without worrying about the build configuration.

Table of Contents

Requirements

  • node)

  • yarn)

  • npm)

Getting Started

$ git clone https://github.com/bsheikh/sunrise.git <project-name>
$ cd <project-name>
$ yarn install
$ yarn run start:dev
Server is now running at http://localhost:4000.

Deployment

[npm|yarn] run deploy:prod creates a dist directory with a production build of your app. Set HTTP server to serve index.html and the application will load.

Static Server

For environments using Node, install serve and let it handle the rest.

npm install -g serve
serve -s build

More Information: https://github.com/zeit/serve

S3 Deploy

  1. Navigate to the S3 service and click Create Bucket. Make up a clever name for your new bucket, then click Create.
  2. Click on the newly-created bucket. Within the Properties, open the Static Website Hosting tab, and select Enable website hosting. Fill in index.html for both the Index and Error Documents. By setting index.html as the Error Document, we can allow something like react-router to handle routes outside of the root.
  3. Add the contents of your dist directory to this bucket. This can be done by clicking on the bucket and clicking Upload. That’s it! You can find the URL to your application back under the Static Website Hosting tab, labeled Endpoint.
  4. Open the Permissions tab, then select Edit bucket policy. Edit bucket policy to allow read-only permissions for anonymous users.

Jest

Sunrise uses Jest as the test runner. Jest is a Node-based runner in which tests are ran in a node environment instead of a browser environment. This enables fast iteration speed and prevents flakiness.

Filename Conventions

Jest will look for test files with any of the following popular naming conventions:

  • Files with .js suffix in __tests__ folders.
  • Files with .test.js suffix.
  • Files with .spec.js suffix.

It's recommend to put the test files (or __tests__ folders) next to the code they are testing so that relative imports appear shorter.

Running tests

$ [npm|yarn] run test

Running tests in watch mode

$ [npm|yarn] run test -- --watch

Updating snapshots

$ [npm|yarn] run test -- --u

Supported Browsers

  • Chrome
  • Mozilla
  • Safari

License

Copyright (c) 2017 Bill Sheikh

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].