throttle

Alt text

[NOT MAINTAINED]

bitHound Overall Score

Throttle is a project aiming to create blazing-fast blogging system writter on foundations of such technologies as Node.js, Postgres/MongoDB, React + Redux and GraphQL + Relay

Scope of the project: - [x] Setup environment for React and ES6 based Node in Webpack + Babel - [x] Create PostgreSQL schemas in Knex - [x] Provide working REST API - [x] RAML based API verification and validation - [x] Provide basic authentication system - [ ] Add other authentication methods such as Twitter & Github - [ ] Setup MongoDB as secondary option for storage - [x] Provide npm scripts for setting up environment (database schemas, variables etc) - [x] Create Dockerfile and docker-compose files for easier deployments and development - [ ] Consider isomorphic/server-side rendering - [ ] Add scrolling loader (fetch only necessary posts) - [ ] Integrate Disquis as comments system - [ ] Improve styles and make it customizable from console

Setup for Development

  1. Rename settings.dist.js file to settings.js and adjust it’s values as you wish
  2. Set POSTGRES_CONNECTION_URL environment variable
  3. npm run setup-dev - this will remove existing node_modules/ and install new ones, moreover this should setup proper schemas in your Postgres DB
  4. npm test to check and npm start to start server and serving content

Setup for Production

  1. Rename settings.dist.js file to settings.js and adjust it’s values as you wish
  2. Set POSTGRES_CONNECTION_URL environment variable
  3. Run npm run setup-prod - this will install only non-dev dependencies and will transpile all files to ES5
  4. Run npm run docker-run if you’d like to run production code inside Docker or npm run prod if you’d like to run it in your current environment.

Related Repositories

jquery-throttle-debounce

jquery-throttle-debounce

jQuery throttle / debounce: Sometimes, less is more! ...

rack-throttle

rack-throttle

Rack middleware for rate-limiting incoming HTTP requests. ...

ng-tasty

ng-tasty

A tasty collection of reusable UI components for Angular, like grandma used to make. Like Table directive, WebSocket / Debounce / Throttle service, Range / Camelize / Slugify filters ...

grunt-throttle

grunt-throttle

A Grunt plugin for testing under a throttled connection. ...

Laravel-Throttle

Laravel-Throttle

A rate limiter for Laravel 5 ...


Top Contributors

RafalWilinski