Skip to content

Commit

Permalink
🥂 Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
HosseinKarami committed Jul 17, 2017
0 parents commit 00ed4e2
Show file tree
Hide file tree
Showing 36 changed files with 7,682 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# FastShell
# https://HosseinKarami.github.io/fastshell
# @author Hossein Karami


## Node.js
lib-cov
*.seed
*.log
*.csv
*.dat
*.out
*.pid
*.gz
pids
logs
results
npm-debug.log
node_modules

## Bower
src/components

## Sass
.sass-cache

## OS X
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.Spotlight-V100
.Trashes

## Windows
Thumbs.db
ehthumbs.db
Desktop.ini
$RECYCLE.BIN/
80 changes: 80 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
# React Starter Kit
### Install
```
yarn install
```
##### Command Setup
In the project directory, you can run:
```
yarn start or yarn build
yarn build:prod
```
Runs the app in the development mode.
Open http://localhost:9000 to view it in the browser.

The page will reload if you make edits.
```
yarn build:prod
```
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified.
Your app is ready to be deployed!

See the section about [**deployment**](https://github.com/facebookincubator/create-react-app/blob/master/packages/react-scripts/template/README.md#deployment) for more information.
### Dynamic copyright/project banners

The package.json includes the dependencies for the project as well as information about the project. Entries here will be dynamically appended to the top of generated `.css` and` .js` files, by default it ships with FastShell's banner:
```
/*!
* +-----------------------------+
* ReactStarterKit *
* ReactJs - React Starter Kit *
* @author Hossein Karami *
* https://hosseinkarami.com *
* Copyright 2017 MIT licensed. *
* +-----------------------------+
*/
```
#### Scaffolding
```
ReactStarterKit
├── README.md
├── node_modules
├── webpack.config.js
├── postcss.config.js
├── package.json
├── .gitignore
├── dist
│ └── app
│ ├── assets
│ │ ├── css
│ │ ├── img
│ │ └── js
│ ├── favicon.ico
│ └── index.html
└── src
└── app
│ ├── components
│ └── utils
└── scss
│ ├── mixins
│ ├── modules
│ ├── partials
│ ├── vendor
│ └── style.scss
└── index.js
└── favicon.ico
```
## License
**The MIT License (MIT)**

Copyright © 2017 Hossein Karami <hi@hosseinkarami.com>

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.
10 changes: 10 additions & 0 deletions dist/app/assets/css/styles.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions dist/app/assets/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 29 additions & 0 deletions dist/app/assets/js/bundle.js

Large diffs are not rendered by default.

Binary file added dist/app/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions dist/app/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!DOCTYPE html> <html> <head> <meta charset=utf-8> <meta name=viewport content="initial-scale=1,user-scalable=no,width=device-width,minimal-ui"> <meta http-equiv=X-UA-Compatible content="IE=edge"> <title>React Starter Kit | by @_Karamii</title> <link rel="shortcut icon" href="/favicon.ico"><link href="/assets/css/styles.min.css" rel="stylesheet"></head> <body> <a href=https://github.com/HosseinKarami/React-Starter-Kit class=github-corner aria-label="View source on Github"><svg width=80 height=80 viewBox="0 0 250 250" style=fill:#151513;color:#fff;position:absolute;top:0;border:0;right:0 aria-hidden=true><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill=currentColor style="transform-origin:130px 106px" class=octo-arm></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill=currentColor class=octo-body></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style> <div id=app></div> <script type="text/javascript" src="/assets/js/bundle.js"></script></body> </html>
46 changes: 46 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "ReactStarterKit",
"version": "1.0.0",
"description": "ReactJs - React Starter Kit",
"main": "index.js",
"scripts": {
"start": "yarn build",
"build": "webpack-dev-server --open ",
"build:prod": "webpack -p",
"deploy": "yarn build:prod && gh-pages dist/app"
},
"author": "Hossein Karami",
"url": "https://hosseinkarami.com",
"homepage": "https://HosseinKarami.github.io/React-Starter-Kit",
"license": "MIT",
"dependencies": {
"autoprefixer": "^7.1.1",
"axios": "^0.16.2",
"babel-core": "^6.25.0",
"babel-loader": "^7.0.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"babel-webpack-plugin": "^0.1.1",
"clean-webpack-plugin": "^0.1.16",
"css-loader": "^0.28.4",
"extract-text-webpack-plugin": "^2.1.2",
"file-loader": "^0.11.2",
"firebase-tools": "^3.9.1",
"gh-pages": "^1.0.0",
"html-loader": "^0.4.5",
"html-webpack-plugin": "^2.28.0",
"node-sass": "^4.5.3",
"postcss-loader": "^2.0.6",
"postcss-modules-emoji-classname": "^1.0.1",
"query-string": "^4.3.4",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-router": "^4.1.1",
"react-router-dom": "^4.1.1",
"sass-loader": "^6.0.6",
"style-loader": "^0.18.2",
"webpack": "3.0.0",
"webpack-dev-server": "^2.4.5"
}
}
5 changes: 5 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
module.exports = {
plugins: [
require('autoprefixer')
]
}
18 changes: 18 additions & 0 deletions src/app/components/App.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import React, { Component } from 'react';
import logo from '../../img/logo.svg';

export class App extends React.Component {
render() {
return (
<div className="container">
<div className="header">
<img src={logo} className="App-logo" alt="logo" />
<h2>Welcome to React Starter Kit</h2>
</div>
<p className="App-intro">
To get started, edit <code>src/components/App.js</code> and save to reload.
</p>
</div>
);
}
}
10 changes: 10 additions & 0 deletions src/app/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import '../scss/style.scss';
import React from "react";
import ReactDOM from "react-dom";

import { App } from "./components/App";

ReactDOM.render(
<App/>,
document.getElementById("app")
);
Binary file added src/favicon.ico
Binary file not shown.
7 changes: 7 additions & 0 deletions src/img/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1.0, user-scalable=no, width=device-width, minimal-ui">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>React Starter Kit | by @_Karamii</title>
</head>
<body>
<a href="https://github.com/HosseinKarami/React-Starter-Kit" class="github-corner" aria-label="View source on Github"><svg width="80" height="80" viewBox="0 0 250 250" style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;" aria-hidden="true"><path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path><path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2" fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path><path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z" fill="currentColor" class="octo-body"></path></svg></a><style>.github-corner:hover .octo-arm{animation:octocat-wave 560ms ease-in-out}@keyframes octocat-wave{0%,100%{transform:rotate(0)}20%,60%{transform:rotate(-25deg)}40%,80%{transform:rotate(10deg)}}@media (max-width:500px){.github-corner:hover .octo-arm{animation:none}.github-corner .octo-arm{animation:octocat-wave 560ms ease-in-out}}</style>
<div id="app"></div>
</body>
</html>
Loading

0 comments on commit 00ed4e2

Please sign in to comment.