Skip to content

Commit aac19fe

Browse files
committed
Welcome demo
0 parents  commit aac19fe

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+7649
-0
lines changed

.babelrc

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"presets": [
3+
["env", {
4+
"modules": false,
5+
"targets": {
6+
"browsers": "> 1%",
7+
"uglify": true
8+
},
9+
"useBuiltIns": true
10+
}]
11+
],
12+
13+
"plugins": [
14+
"syntax-dynamic-import",
15+
"transform-object-rest-spread",
16+
["transform-class-properties", { "spec": true }]
17+
]
18+
}

.gitignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore the default SQLite database.
11+
/db/*.sqlite3
12+
/db/*.sqlite3-journal
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
/node_modules
21+
/yarn-error.log
22+
23+
.byebug_history
24+
/public/packs
25+
/public/packs-test
26+
/node_modules
27+
yarn-debug.log*
28+
.yarn-integrity

.postcssrc.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
plugins:
2+
postcss-import: {}
3+
postcss-cssnext: {}

Gemfile

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
source 'https://rubygems.org'
2+
3+
git_source(:github) do |repo_name|
4+
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
5+
"https://github.com/#{repo_name}.git"
6+
end
7+
8+
9+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
10+
gem 'rails', '~> 5.1.6'
11+
# Use sqlite3 as the database for Active Record
12+
gem 'sqlite3'
13+
# Use Puma as the app server
14+
gem 'puma', '~> 3.7'
15+
# Use SCSS for stylesheets
16+
gem 'sass-rails', '~> 5.0'
17+
# Use Uglifier as compressor for JavaScript assets
18+
gem 'uglifier', '>= 1.3.0'
19+
# See https://github.com/rails/execjs#readme for more supported runtimes
20+
# gem 'therubyracer', platforms: :ruby
21+
22+
# Use CoffeeScript for .coffee assets and views
23+
gem 'coffee-rails', '~> 4.2'
24+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
25+
gem 'turbolinks', '~> 5'
26+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
27+
gem 'jbuilder', '~> 2.5'
28+
# Use Redis adapter to run Action Cable in production
29+
# gem 'redis', '~> 4.0'
30+
# Use ActiveModel has_secure_password
31+
# gem 'bcrypt', '~> 3.1.7'
32+
33+
# Use Capistrano for deployment
34+
# gem 'capistrano-rails', group: :development
35+
36+
group :development, :test do
37+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
38+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
39+
# Adds support for Capybara system testing and selenium driver
40+
gem 'capybara', '~> 2.13'
41+
gem 'selenium-webdriver'
42+
end
43+
44+
group :development do
45+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
46+
gem 'web-console', '>= 3.3.0'
47+
gem 'listen', '>= 3.0.5', '< 3.2'
48+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
49+
gem 'spring'
50+
gem 'spring-watcher-listen', '~> 2.0.0'
51+
end
52+
53+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
54+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
55+
56+
#FrontEnd gems
57+
gem 'webpacker'
58+
gem 'foreman'

Gemfile.lock

+206
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,206 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (5.1.6)
5+
actionpack (= 5.1.6)
6+
nio4r (~> 2.0)
7+
websocket-driver (~> 0.6.1)
8+
actionmailer (5.1.6)
9+
actionpack (= 5.1.6)
10+
actionview (= 5.1.6)
11+
activejob (= 5.1.6)
12+
mail (~> 2.5, >= 2.5.4)
13+
rails-dom-testing (~> 2.0)
14+
actionpack (5.1.6)
15+
actionview (= 5.1.6)
16+
activesupport (= 5.1.6)
17+
rack (~> 2.0)
18+
rack-test (>= 0.6.3)
19+
rails-dom-testing (~> 2.0)
20+
rails-html-sanitizer (~> 1.0, >= 1.0.2)
21+
actionview (5.1.6)
22+
activesupport (= 5.1.6)
23+
builder (~> 3.1)
24+
erubi (~> 1.4)
25+
rails-dom-testing (~> 2.0)
26+
rails-html-sanitizer (~> 1.0, >= 1.0.3)
27+
activejob (5.1.6)
28+
activesupport (= 5.1.6)
29+
globalid (>= 0.3.6)
30+
activemodel (5.1.6)
31+
activesupport (= 5.1.6)
32+
activerecord (5.1.6)
33+
activemodel (= 5.1.6)
34+
activesupport (= 5.1.6)
35+
arel (~> 8.0)
36+
activesupport (5.1.6)
37+
concurrent-ruby (~> 1.0, >= 1.0.2)
38+
i18n (>= 0.7, < 2)
39+
minitest (~> 5.1)
40+
tzinfo (~> 1.1)
41+
addressable (2.5.2)
42+
public_suffix (>= 2.0.2, < 4.0)
43+
arel (8.0.0)
44+
bindex (0.5.0)
45+
builder (3.2.3)
46+
byebug (10.0.2)
47+
capybara (2.18.0)
48+
addressable
49+
mini_mime (>= 0.1.3)
50+
nokogiri (>= 1.3.3)
51+
rack (>= 1.0.0)
52+
rack-test (>= 0.5.4)
53+
xpath (>= 2.0, < 4.0)
54+
childprocess (0.9.0)
55+
ffi (~> 1.0, >= 1.0.11)
56+
coffee-rails (4.2.2)
57+
coffee-script (>= 2.2.0)
58+
railties (>= 4.0.0)
59+
coffee-script (2.4.1)
60+
coffee-script-source
61+
execjs
62+
coffee-script-source (1.12.2)
63+
concurrent-ruby (1.0.5)
64+
crass (1.0.4)
65+
erubi (1.7.1)
66+
execjs (2.7.0)
67+
ffi (1.9.25)
68+
foreman (0.85.0)
69+
thor (~> 0.19.1)
70+
globalid (0.4.1)
71+
activesupport (>= 4.2.0)
72+
i18n (1.0.1)
73+
concurrent-ruby (~> 1.0)
74+
jbuilder (2.7.0)
75+
activesupport (>= 4.2.0)
76+
multi_json (>= 1.2)
77+
listen (3.1.5)
78+
rb-fsevent (~> 0.9, >= 0.9.4)
79+
rb-inotify (~> 0.9, >= 0.9.7)
80+
ruby_dep (~> 1.2)
81+
loofah (2.2.2)
82+
crass (~> 1.0.2)
83+
nokogiri (>= 1.5.9)
84+
mail (2.7.0)
85+
mini_mime (>= 0.1.1)
86+
method_source (0.9.0)
87+
mini_mime (1.0.0)
88+
mini_portile2 (2.3.0)
89+
minitest (5.11.3)
90+
multi_json (1.13.1)
91+
nio4r (2.3.1)
92+
nokogiri (1.8.4)
93+
mini_portile2 (~> 2.3.0)
94+
public_suffix (3.0.2)
95+
puma (3.12.0)
96+
rack (2.0.5)
97+
rack-proxy (0.6.4)
98+
rack
99+
rack-test (1.1.0)
100+
rack (>= 1.0, < 3)
101+
rails (5.1.6)
102+
actioncable (= 5.1.6)
103+
actionmailer (= 5.1.6)
104+
actionpack (= 5.1.6)
105+
actionview (= 5.1.6)
106+
activejob (= 5.1.6)
107+
activemodel (= 5.1.6)
108+
activerecord (= 5.1.6)
109+
activesupport (= 5.1.6)
110+
bundler (>= 1.3.0)
111+
railties (= 5.1.6)
112+
sprockets-rails (>= 2.0.0)
113+
rails-dom-testing (2.0.3)
114+
activesupport (>= 4.2.0)
115+
nokogiri (>= 1.6)
116+
rails-html-sanitizer (1.0.4)
117+
loofah (~> 2.2, >= 2.2.2)
118+
railties (5.1.6)
119+
actionpack (= 5.1.6)
120+
activesupport (= 5.1.6)
121+
method_source
122+
rake (>= 0.8.7)
123+
thor (>= 0.18.1, < 2.0)
124+
rake (12.3.1)
125+
rb-fsevent (0.10.3)
126+
rb-inotify (0.9.10)
127+
ffi (>= 0.5.0, < 2)
128+
ruby_dep (1.5.0)
129+
rubyzip (1.2.1)
130+
sass (3.5.7)
131+
sass-listen (~> 4.0.0)
132+
sass-listen (4.0.0)
133+
rb-fsevent (~> 0.9, >= 0.9.4)
134+
rb-inotify (~> 0.9, >= 0.9.7)
135+
sass-rails (5.0.7)
136+
railties (>= 4.0.0, < 6)
137+
sass (~> 3.1)
138+
sprockets (>= 2.8, < 4.0)
139+
sprockets-rails (>= 2.0, < 4.0)
140+
tilt (>= 1.1, < 3)
141+
selenium-webdriver (3.13.1)
142+
childprocess (~> 0.5)
143+
rubyzip (~> 1.2)
144+
spring (2.0.2)
145+
activesupport (>= 4.2)
146+
spring-watcher-listen (2.0.1)
147+
listen (>= 2.7, < 4.0)
148+
spring (>= 1.2, < 3.0)
149+
sprockets (3.7.2)
150+
concurrent-ruby (~> 1.0)
151+
rack (> 1, < 3)
152+
sprockets-rails (3.2.1)
153+
actionpack (>= 4.0)
154+
activesupport (>= 4.0)
155+
sprockets (>= 3.0.0)
156+
sqlite3 (1.3.13)
157+
thor (0.19.4)
158+
thread_safe (0.3.6)
159+
tilt (2.0.8)
160+
turbolinks (5.1.1)
161+
turbolinks-source (~> 5.1)
162+
turbolinks-source (5.1.0)
163+
tzinfo (1.2.5)
164+
thread_safe (~> 0.1)
165+
uglifier (4.1.16)
166+
execjs (>= 0.3.0, < 3)
167+
web-console (3.6.2)
168+
actionview (>= 5.0)
169+
activemodel (>= 5.0)
170+
bindex (>= 0.4.0)
171+
railties (>= 5.0)
172+
webpacker (3.5.5)
173+
activesupport (>= 4.2)
174+
rack-proxy (>= 0.6.1)
175+
railties (>= 4.2)
176+
websocket-driver (0.6.5)
177+
websocket-extensions (>= 0.1.0)
178+
websocket-extensions (0.1.3)
179+
xpath (3.1.0)
180+
nokogiri (~> 1.8)
181+
182+
PLATFORMS
183+
ruby
184+
185+
DEPENDENCIES
186+
byebug
187+
capybara (~> 2.13)
188+
coffee-rails (~> 4.2)
189+
foreman
190+
jbuilder (~> 2.5)
191+
listen (>= 3.0.5, < 3.2)
192+
puma (~> 3.7)
193+
rails (~> 5.1.6)
194+
sass-rails (~> 5.0)
195+
selenium-webdriver
196+
spring
197+
spring-watcher-listen (~> 2.0.0)
198+
sqlite3
199+
turbolinks (~> 5)
200+
tzinfo-data
201+
uglifier (>= 1.3.0)
202+
web-console (>= 3.3.0)
203+
webpacker
204+
205+
BUNDLED WITH
206+
1.16.1

README.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Rakefile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative 'config/application'
5+
6+
Rails.application.load_tasks

app/assets/config/manifest.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
//= link_tree ../images
2+
//= link_directory ../javascripts .js
3+
//= link_directory ../stylesheets .css

app/assets/images/.keep

Whitespace-only changes.

app/assets/javascripts/application.js

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// This is a manifest file that'll be compiled into application.js, which will include all the files
2+
// listed below.
3+
//
4+
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5+
// vendor/assets/javascripts directory can be referenced here using a relative path.
6+
//
7+
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8+
// compiled file. JavaScript code in this file should be added after the last require_* statement.
9+
//
10+
// Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11+
// about supported directives.
12+
//
13+
//= require rails-ujs
14+
//= require turbolinks
15+
//= require_tree .

app/assets/javascripts/cable.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// Action Cable provides the framework to deal with WebSockets in Rails.
2+
// You can generate new channels where WebSocket features live using the `rails generate channel` command.
3+
//
4+
//= require action_cable
5+
//= require_self
6+
//= require_tree ./channels
7+
8+
(function() {
9+
this.App || (this.App = {});
10+
11+
App.cable = ActionCable.createConsumer();
12+
13+
}).call(this);

app/assets/javascripts/channels/.keep

Whitespace-only changes.

app/assets/javascripts/landing.coffee

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Place all the behaviors and hooks related to the matching controller here.
2+
# All this logic will automatically be available in application.js.
3+
# You can use CoffeeScript in this file: http://coffeescript.org/

0 commit comments

Comments
 (0)