0.1.1 • Published 8 years ago
inkie v0.1.1
The simple, customizable news aggregator. (Currently in development.)
Introduction
inkie is (or is going to be) the simple, customizable news aggregator. It's being built with Node.js, React, Babel, and webpack. Contributions are always welcome!
Installation
Install with git (recommended)
# Clone inkie.
$ git clone git://github.com/qwamber/inkie.gitInstall with NPM
# Install inkie.
$ npm install inkieSetup
Start the development server
The easiest way to get started with inkie is to run the development build.
It uses
webpack-dev-middlewareto automatically bundle edited filesIt automatically reloads a web browser when changes are made.
# Change directory.
$ cd inkie
# Run the development server on `localhost:8080`.
$ npm run start-devStart the production server
You can also run inkie in production mode.
This will turn off the automatic bundling and refreshing done by
webpack-dev-middlewareIt will start the Express.js server in with
NODE_ENVset to"production".
# Build and run the production server on `localhost:8080`.
$ npm run build && npm startProject structure
+-- web/ (Web-related files)
| +-- bin/ (Where `.webpackrc.js` puts bundles and where `web/index.html`
| | looks for bundles)
| +-- src/
| | +-- components/ (React components)
| | | +-- PageIndex.jsx (The page React component for `web/index.html`)
| | +-- static/ (Static assets)
| | +-- renderPageIndex.jsx (Renders `web/src/components/PageIndex.jsx` in
| | | the DOM in the element with the id `root` and
| | | is the entry point for webpack)
| +-- index.html (The index HTML page used by `router.js` and `routerDev.js`)
+-- .babelrc (Babel configuration)
+-- .eslintignore (ESLint-ignored files)
+-- .eslintrc.json (ESLint configuration, primarily using the
| `eslint-config-airbnb` module)
+-- .gitignore (git-ignored files)
+-- .webpackrc.js (webpack configuration, often called `webpack.config.js` in
| other projects)
+-- package.json (NPM configuration)
+-- README.md (The README)
+-- router.js (The inkie Express.js production router)
+-- routerDev.js (The inkie Express.js development router)
+-- startServer.js (Starts the inkie Express.js production router found in
| `router.js`)
+-- startServeDev.js (Starts the inkie Express.js development router found in
| `routerDev.js`)