10000 GitHub - samouri/icfy: Is Calypso Fast Yet?
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

samouri/icfy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Server

A set of three node.js scripts running on an EC2 instance and accessing data in a MySQL/Aurora database.

queuer.js periodically polls the GitHub API for new pushes to the Calypso repo and if it finds new ones, queues them into the database's pushes table.

builder.js checks the pushes table for new pushes, and if it finds new, unprocessed ones, it checkouts the appropriate commit and performs a production build with webpack-bundle-analyzer enabled. The resulting build stats are then recored in the stats table.

api.js is an express.js HTTP server that provides REST API for the frontend to use.

knex.js is used as a SQL client library and as a tool to maintain the database schema and do schema migrations.

I use the co library that provides async/await functionality based on generators. Node 6.x doesn't support async/await natively yet, and I wanted to avoid a Babel build step for the server code.

Client

A simple React app based on create-react-app that shows the frontend and uses the REST API provided by the server. C3 is used to display the charts. It's running as a static website hosted in an S3 bucket.

The iscalypsofastyet.com domain is registered with WordPress.com and uses the AWS Route 53 nameservers.

About

Is Calypso Fast Yet?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 96.4%
  • CSS 2.6%
  • HTML 1.0%
0