Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tongueroo committed Dec 13, 2018
0 parents commit 2a0d43f
Show file tree
Hide file tree
Showing 51 changed files with 7,052 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"presets": [
["env", {
"modules": false,
"targets": {
"browsers": "> 1%",
"uglify": true
},
"useBuiltIns": true
}]
],

"plugins": [
"syntax-dynamic-import",
"transform-object-rest-spread",
["transform-class-properties", { "spec": true }]
]
}
3 changes: 3 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Example .env, meant to be updated.
# Variables in here are available and shared across all environments: development, production, etc.
SECRET_KEY_BASE=9947d14fae6387430068ae1a86c77b360cbe1ed401beb1b92239701b48bb1af7566589435725bee110b14da360a5138f1ba66b62c894cdc6f840b29fca8b6763
3 changes: 3 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Example .env.development, meant to be updated.
ENV_DEVELOPMENT_KEY=example1
# DATABASE_URL=mysql2://dbuser:dbpass@localhost/demo_development?pool=5
3 changes: 3 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Example .env.test, meant to be updated.
env_key1=env_value1
env_key2=env_value2
17 changes: 17 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
*.gem
.bundle
.byebug_history
.DS_Store
.env.*.remote
.env.production
.env.staging
/node_modules
/public/packs
/public/packs-test
bundled
coverage
pkg
tmp
/public/packs
/public/packs-test
/node_modules
1 change: 1 addition & 0 deletions .jetskeep
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pack
3 changes: 3 additions & 0 deletions .postcssrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
plugins:
postcss-import: {}
postcss-cssnext: {}
3 changes: 3 additions & 0 deletions .rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--color
--format documentation
--require spec_helper
23 changes: 23 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
source "https://rubygems.org"

gem "jets"

# Include webpacker if you are you are building html pages
gem "webpacker", git: "https://github.com/tongueroo/webpacker.git", branch: "jets"

# Include mysql2 gem if you are using ActiveRecord, remove if you are not
gem "mysql2", "~> 0.5.2"


group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'shotgun'
gem 'rack'
end

group :test do
gem 'rspec' # rspec test group only or we get the "irb: warn: can't alias context from irb_context warning" when starting jets console
gem 'launchy'
gem 'capybara'
end
195 changes: 195 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
GIT
remote: https://github.com/tongueroo/webpacker.git
revision: a8c46614c6757fab65e4d0c47d8203014e7b4ef9
branch: jets
specs:
webpacker (3.2.0)
activesupport (>= 4.2)
rack-proxy (>= 0.6.1)
railties (>= 4.2)

GEM
remote: https://rubygems.org/
specs:
actionpack (5.2.2)
actionview (= 5.2.2)
activesupport (= 5.2.2)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.2.2)
activesupport (= 5.2.2)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activemodel (5.2.2)
activesupport (= 5.2.2)
activerecord (5.2.2)
activemodel (= 5.2.2)
activesupport (= 5.2.2)
arel (>= 9.0)
activesupport (5.2.2)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.5.2)
public_suffix (>= 2.0.2, < 4.0)
arel (9.0.0)
aws-eventstream (1.0.1)
aws-partitions (1.123.0)
aws-sdk-apigateway (1.23.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-cloudformation (1.13.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-cloudwatchlogs (1.12.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-core (3.44.0)
aws-eventstream (~> 1.0)
aws-partitions (~> 1.0)
aws-sigv4 (~> 1.0)
jmespath (~> 1.0)
aws-sdk-dynamodb (1.18.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-kms (1.13.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-lambda (1.16.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sdk-s3 (1.30.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sdk-kms (~> 1)
aws-sigv4 (~> 1.0)
aws-sdk-sns (1.9.0)
aws-sdk-core (~> 3, >= 3.39.0)
aws-sigv4 (~> 1.0)
aws-sigv4 (1.0.3)
builder (3.2.3)
byebug (10.0.2)
capybara (3.12.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (~> 1.2)
xpath (~> 3.2)
colorize (0.8.1)
concurrent-ruby (1.1.3)
crass (1.0.4)
diff-lcs (1.3)
dotenv (2.5.0)
erubi (1.7.1)
gems (1.1.1)
json
hashie (3.6.0)
i18n (1.2.0)
concurrent-ruby (~> 1.0)
jets (1.3.0)
actionpack (>= 5.2.1)
actionview (>= 5.2.1)
activerecord (>= 5.2.1)
activesupport (>= 5.2.1)
aws-sdk-apigateway
aws-sdk-cloudformation
aws-sdk-cloudwatchlogs
aws-sdk-dynamodb
aws-sdk-lambda
aws-sdk-s3
aws-sdk-sns
colorize
dotenv
gems
hashie
json
kramdown
memoist
mimemagic
rack
railties (>= 5.2.1)
recursive-open-struct
text-table
thor
jmespath (1.4.0)
json (2.1.0)
kramdown (1.17.0)
launchy (2.4.3)
addressable (~> 2.3)
loofah (2.2.3)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
memoist (0.16.0)
method_source (0.9.2)
mimemagic (0.3.2)
mini_mime (1.0.1)
mini_portile2 (2.3.0)
minitest (5.11.3)
mysql2 (0.5.2)
nokogiri (1.8.5)
mini_portile2 (~> 2.3.0)
public_suffix (3.0.3)
rack (2.0.6)
rack-proxy (0.6.5)
rack
rack-test (1.1.0)
rack (>= 1.0, < 3)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
railties (5.2.2)
actionpack (= 5.2.2)
activesupport (= 5.2.2)
method_source
rake (>= 0.8.7)
thor (>= 0.19.0, < 2.0)
rake (12.3.2)
recursive-open-struct (1.1.0)
regexp_parser (1.3.0)
rspec (3.8.0)
rspec-core (~> 3.8.0)
rspec-expectations (~> 3.8.0)
rspec-mocks (~> 3.8.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.2)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-support (3.8.0)
shotgun (0.9.2)
rack (>= 1.0)
text-table (1.2.4)
thor (0.20.3)
thread_safe (0.3.6)
tzinfo (1.2.5)
thread_safe (~> 0.1)
xpath (3.2.0)
nokogiri (~> 1.8)

PLATFORMS
ruby

DEPENDENCIES
byebug
capybara
jets
launchy
mysql2 (~> 0.5.2)
rack
rspec
shotgun
webpacker!

BUNDLED WITH
1.17.1
7 changes: 7 additions & 0 deletions Procfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
local: dynamodb-local # port 8000
admin: env AWS_ACCESS_KEY_ID=$DYNAMODB_ADMIN_AWS_ACCESS_KEY_ID PORT=8001 dynamodb-admin # port 8001
# web: jets server # port 8888

# Using Procfile to just start local dynamodb services for now.
# To start jets server for now use:
# jets server
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Jets Project

This README would normally document whatever steps are necessary to get the application up and running.

Things you might want to cover:

* Dependencies
* Configuration
* Database setup
* How to run the test suite
* Deployment instructions
2 changes: 2 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
require 'jets'
Jets.load_tasks
2 changes: 2 additions & 0 deletions app/controllers/application_controller.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
class ApplicationController < Jets::Controller::Base
end
2 changes: 2 additions & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
module ApplicationHelper
end
11 changes: 11 additions & 0 deletions app/javascript/packs/application.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint no-console:0 */
// This file is automatically compiled by Webpack and Jets, along with any other files
// present in this directory. You're encouraged to place your actual application logic in
// a relevant structure within app/javascript and only use these pack files to reference
// that code so it'll be compiled.
//
// To reference this file, add <%= javascript_pack_tag 'application' %> to the appropriate
// layout file, like app/views/layouts/application.html.erb

import '../src/jets/crud'
console.log('Hello World from Webpacker')
21 changes: 21 additions & 0 deletions app/javascript/packs/theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
// This file is automatically generated by Jets. It is meant to be modified
// for your needs.

// Simple starter css generated by Jets, meant to be overriden
.starter {
padding: 20px;

td:first-child {
min-width: 300px;
}
td {
padding-left: 6px;
}

label {
min-width: 200px;
}
input {
padding: 5px;
}
}
Loading

0 comments on commit 2a0d43f

Please sign in to comment.