Skip to content

Commit 5f6f408

Browse files
authored
Merge pull request #20 from johncorderox/new_things
New things
2 parents 794263d + 94e33f8 commit 5f6f408

File tree

18,343 files changed

+2053519
-3
lines changed

Some content is hidden

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

18,343 files changed

+2053519
-3
lines changed

.DS_Store

0 Bytes
Binary file not shown.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,12 +391,12 @@ export default App
391391

392392

393393
6. Start the rails server! And Success!! We can now make API calls to our backend!
394-
<img src="https://i.ibb.co/ys2SQFd/Screen-Shot-2021-04-09-at-3-47-16-PM.png" alt="Screen-Shot-2021-04-09-at-3-47-16-PM" border="0">
394+
<img src="https://i.ibb.co/ys2SQFd/Screen-Shot-2021-04-09-at-3-47-16-PM.png" width="300" alt="Screen-Shot-2021-04-09-at-3-47-16-PM" border="0">
395395

396396

397397

398-
💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘 <br>
399-
Congratulations! Our Rails API and React Client is done! <br>
398+
💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘💘 <br><br>
399+
Congratulations! Our Rails API and React Client is done! <br><br>
400400
If you enjoyed this API tutorial please give it a star and share it with your friends!
401401

402402

movies_api_full/Gemfile

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
source 'https://rubygems.org'
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby '2.6.3'
5+
6+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
7+
gem 'rails', '~> 6.1.3', '>= 6.1.3.1'
8+
# Use postgresql as the database for Active Record
9+
gem 'pg', '~> 1.1'
10+
# Use Puma as the app server
11+
gem 'puma', '~> 5.0'
12+
# Use SCSS for stylesheets
13+
gem 'sass-rails', '>= 6'
14+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
15+
gem 'webpacker', '~> 5.0'
16+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
17+
gem 'turbolinks', '~> 5'
18+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
19+
gem 'jbuilder', '~> 2.7'
20+
# Use Redis adapter to run Action Cable in production
21+
# gem 'redis', '~> 4.0'
22+
# Use Active Model has_secure_password
23+
# gem 'bcrypt', '~> 3.1.7'
24+
25+
# Use Active Storage variant
26+
# gem 'image_processing', '~> 1.2'
27+
28+
# Reduces boot times through caching; required in config/boot.rb
29+
gem 'bootsnap', '>= 1.4.4', require: false
30+
31+
group :development, :test do
32+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
33+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
34+
end
35+
36+
group :development do
37+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
38+
gem 'web-console', '>= 4.1.0'
39+
# Display performance information such as SQL time and flame graphs for each request in your browser.
40+
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
41+
gem 'rack-mini-profiler', '~> 2.0'
42+
gem 'listen', '~> 3.3'
43+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
44+
gem 'spring'
45+
end
46+
47+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
48+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

movies_api_full/Gemfile.lock

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (6.1.3.1)
5+
actionpack (= 6.1.3.1)
6+
activesupport (= 6.1.3.1)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (6.1.3.1)
10+
actionpack (= 6.1.3.1)
11+
activejob (= 6.1.3.1)
12+
activerecord (= 6.1.3.1)
13+
activestorage (= 6.1.3.1)
14+
activesupport (= 6.1.3.1)
15+
mail (>= 2.7.1)
16+
actionmailer (6.1.3.1)
17+
actionpack (= 6.1.3.1)
18+
actionview (= 6.1.3.1)
19+
activejob (= 6.1.3.1)
20+
activesupport (= 6.1.3.1)
21+
mail (~> 2.5, >= 2.5.4)
22+
rails-dom-testing (~> 2.0)
23+
actionpack (6.1.3.1)
24+
actionview (= 6.1.3.1)
25+
activesupport (= 6.1.3.1)
26+
rack (~> 2.0, >= 2.0.9)
27+
rack-test (>= 0.6.3)
28+
rails-dom-testing (~> 2.0)
29+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
30+
actiontext (6.1.3.1)
31+
actionpack (= 6.1.3.1)
32+
activerecord (= 6.1.3.1)
33+
activestorage (= 6.1.3.1)
34+
activesupport (= 6.1.3.1)
35+
nokogiri (>= 1.8.5)
36+
actionview (6.1.3.1)
37+
activesupport (= 6.1.3.1)
38+
builder (~> 3.1)
39+
erubi (~> 1.4)
40+
rails-dom-testing (~> 2.0)
41+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
42+
activejob (6.1.3.1)
43+
activesupport (= 6.1.3.1)
44+
globalid (>= 0.3.6)
45+
activemodel (6.1.3.1)
46+
activesupport (= 6.1.3.1)
47+
activerecord (6.1.3.1)
48+
activemodel (= 6.1.3.1)
49+
activesupport (= 6.1.3.1)
50+
activestorage (6.1.3.1)
51+
actionpack (= 6.1.3.1)
52+
activejob (= 6.1.3.1)
53+
activerecord (= 6.1.3.1)
54+
activesupport (= 6.1.3.1)
55+
marcel (~> 1.0.0)
56+
mini_mime (~> 1.0.2)
57+
activesupport (6.1.3.1)
58+
concurrent-ruby (~> 1.0, >= 1.0.2)
59+
i18n (>= 1.6, < 2)
60+
minitest (>= 5.1)
61+
tzinfo (~> 2.0)
62+
zeitwerk (~> 2.3)
63+
bindex (0.8.1)
64+
bootsnap (1.7.3)
65+
msgpack (~> 1.0)
66+
builder (3.2.4)
67+
byebug (11.1.3)
68+
concurrent-ruby (1.1.8)
69+
crass (1.0.6)
70+
erubi (1.10.0)
71+
ffi (1.15.0)
72+
globalid (0.4.2)
73+
activesupport (>= 4.2.0)
74+
i18n (1.8.10)
75+
concurrent-ruby (~> 1.0)
76+
jbuilder (2.11.2)
77+
activesupport (>= 5.0.0)
78+
listen (3.5.1)
79+
rb-fsevent (~> 0.10, >= 0.10.3)
80+
rb-inotify (~> 0.9, >= 0.9.10)
81+
loofah (2.9.1)
82+
crass (~> 1.0.2)
83+
nokogiri (>= 1.5.9)
84+
mail (2.7.1)
85+
mini_mime (>= 0.1.1)
86+
marcel (1.0.1)
87+
method_source (1.0.0)
88+
mini_mime (1.0.3)
89+
mini_portile2 (2.5.0)
90+
minitest (5.14.4)
91+
msgpack (1.4.2)
92+
nio4r (2.5.7)
93+
nokogiri (1.11.3)
94+
mini_portile2 (~> 2.5.0)
95+
racc (~> 1.4)
96+
pg (1.2.3)
97+
puma (5.2.2)
98+
nio4r (~> 2.0)
99+
racc (1.5.2)
100+
rack (2.2.3)
101+
rack-mini-profiler (2.3.1)
102+
rack (>= 1.2.0)
103+
rack-proxy (0.6.5)
104+
rack
105+
rack-test (1.1.0)
106+
rack (>= 1.0, < 3)
107+
rails (6.1.3.1)
108+
actioncable (= 6.1.3.1)
109+
actionmailbox (= 6.1.3.1)
110+
actionmailer (= 6.1.3.1)
111+
actionpack (= 6.1.3.1)
112+
actiontext (= 6.1.3.1)
113+
actionview (= 6.1.3.1)
114+
activejob (= 6.1.3.1)
115+
activemodel (= 6.1.3.1)
116+
activerecord (= 6.1.3.1)
117+
activestorage (= 6.1.3.1)
118+
activesupport (= 6.1.3.1)
119+
bundler (>= 1.15.0)
120+
railties (= 6.1.3.1)
121+
sprockets-rails (>= 2.0.0)
122+
rails-dom-testing (2.0.3)
123+
activesupport (>= 4.2.0)
124+
nokogiri (>= 1.6)
125+
rails-html-sanitizer (1.3.0)
126+
loofah (~> 2.3)
127+
railties (6.1.3.1)
128+
actionpack (= 6.1.3.1)
129+
activesupport (= 6.1.3.1)
130+
method_source
131+
rake (>= 0.8.7)
132+
thor (~> 1.0)
133+
rake (13.0.3)
134+
rb-fsevent (0.10.4)
135+
rb-inotify (0.10.1)
136+
ffi (~> 1.0)
137+
sass-rails (6.0.0)
138+
sassc-rails (~> 2.1, >= 2.1.1)
139+
sassc (2.4.0)
140+
ffi (~> 1.9)
141+
sassc-rails (2.1.2)
142+
railties (>= 4.0.0)
143+
sassc (>= 2.0)
144+
sprockets (> 3.0)
145+
sprockets-rails
146+
tilt
147+
semantic_range (3.0.0)
148+
spring (2.1.1)
149+
sprockets (4.0.2)
150+
concurrent-ruby (~> 1.0)
151+
rack (> 1, < 3)
152+
sprockets-rails (3.2.2)
153+
actionpack (>= 4.0)
154+
activesupport (>= 4.0)
155+
sprockets (>= 3.0.0)
156+
thor (1.1.0)
157+
tilt (2.0.10)
158+
turbolinks (5.2.1)
159+
turbolinks-source (~> 5.2)
160+
turbolinks-source (5.2.0)
161+
tzinfo (2.0.4)
162+
concurrent-ruby (~> 1.0)
163+
web-console (4.1.0)
164+
actionview (>= 6.0.0)
165+
activemodel (>= 6.0.0)
166+
bindex (>= 0.4.0)
167+
railties (>= 6.0.0)
168+
webpacker (5.2.1)
169+
activesupport (>= 5.2)
170+
rack-proxy (>= 0.6.1)
171+
railties (>= 5.2)
172+
semantic_range (>= 2.3.0)
173+
websocket-driver (0.7.3)
174+
websocket-extensions (>= 0.1.0)
175+
websocket-extensions (0.1.5)
176+
zeitwerk (2.4.2)
177+
178+
PLATFORMS
179+
ruby
180+
181+
DEPENDENCIES
182+
bootsnap (>= 1.4.4)
183+
byebug
184+
jbuilder (~> 2.7)
185+
listen (~> 3.3)
186+
pg (~> 1.1)
187+
puma (~> 5.0)
188+
rack-mini-profiler (~> 2.0)
189+
rails (~> 6.1.3, >= 6.1.3.1)
190+
sass-rails (>= 6)
191+
spring
192+
turbolinks (~> 5)
193+
tzinfo-data
194+
web-console (>= 4.1.0)
195+
webpacker (~> 5.0)
196+
197+
RUBY VERSION
198+
ruby 2.6.3p62
199+
200+
BUNDLED WITH
201+
2.1.4

movies_api_full/README.md

Lines changed: 24 additions & 0 deletions
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+
* ...

movies_api_full/Rakefile

Lines changed: 6 additions & 0 deletions
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
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
//= link_tree ../images
2+
//= link_directory ../stylesheets .css
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS/SCSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Home controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: https://sass-lang.com/
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
// Place all the styles related to the Movies controller here.
2+
// They will automatically be included in application.css.
3+
// You can use Sass (SCSS) here: https://sass-lang.com/

0 commit comments

Comments
 (0)