https://github.com/srph/omai
<swag>Flat</swag> website for me, written in React
https://github.com/srph/omai
example react website
Last synced: about 1 month ago
JSON representation
<swag>Flat</swag> website for me, written in React
- Host: GitHub
- URL: https://github.com/srph/omai
- Owner: srph
- Created: 2015-02-27T18:16:42.000Z (almost 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2015-04-01T02:28:13.000Z (almost 11 years ago)
- Last Synced: 2025-01-26T17:15:49.490Z (about 1 year ago)
- Topics: example, react, website
- Language: JavaScript
- Homepage: http://omai.kierb.com
- Size: 1.56 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
• ▌ ▄ ·. ▄▄▄· ▪
▪ ·██ ▐███▪▐█ ▀█ ██
▄█▀▄ ▐█ ▌▐▌▐█·▄█▀▀█ ▐█·
▐█▌.▐▌██ ██▌▐█▌▐█ ▪▐▌▐█▌
▀█▄▀▪▀▀ █▪▀▀▀ ▀ ▀ ▀▀▀
```
# omai [](https://travis-ci.org/srph/omai?branch=master) [](https://david-dm.org/srph/omai.svg) [](https://david-dm.org/cdnjs/cdnjs#info=devDependencies) [](http://img.shields.io/badge/author-@srph-blue.svg)
Flat-swaggish website for me, built in ReactJS.
[](http://seraphipod.deviantart.com/art/omai-516806915)
[
](http://seraphipod.deviantart.com/art/omai-work-item-518802626?ga_submit_new=10%253A1425811667)
## Color Schemes
| Hex | Preview |
|:-------------:|:-------------:|
| `#f1f3f5` |  |
| `#ff5050` |  |
| `#090909` |  |
| `#93a2a6` |  |
## Building
Feel free for learning or experimental purposes.
**Requirements**
- **node** `v0.10.*`. **jest-cli** `v0.3.*` does not work with *node** `>=v0.11`. And **jest-cli** `v0.4.*` has [issues](https://github.com/facebook/jest/issues/249) [**jsdom**](https://github.com/tmpvar/jsdom), if I'm correct.
- **npm**
- **Git** (only to clone the repository)
### Installation
**Clone the repository**. Otherwise, you can just download the repository as zip.
```bash
$ git clone https://github.com/srph/omai.git && cd omai
```
**Install the dependencies**.
```
# make sure you're in the root folder of the repository
$ npm install
```
**Running**.
For now, I am not providing any node web-server script since I am using PHP's [SAPI](http://php.net/manual/en/features.commandline.webserver.php).
### Automation
```bash
$ npm test # run the tests / jest
$ npm run build # Build (for development)
$ npm run watch # Watch for changes (like build, but also watches for files changes)
$ npm run prod # Build (for production; minifies output script, etc)
```
## Tools of the Trade
- [**ReactJS**](https://facebook.github.io/react) - UI Library
- [**Radium**](https://github.com/FormidableLabs/radium) - Bye, CSS.
- [**Babel**](https://babeljs.io) - Transpile ES6 to ES5.
- [**Webpack**](https://webpack.github.io) - Build scripts.
- [**Jest**](https://facebook.github.io/jest) - For the tests.
Also, thanks to [**normalize.css**](https://necole.github.io/normalize.css/).
## Acknowledgement
**omai** © 2015+, Kier Borromeo (srph).
> [srph.github.io](http://srph.github.io) ·
> GitHub [@srph](https://github.com/srph) ·
> Twitter [@_srph](https://twitter.com/_srph)