Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chitter Challenge - Sarah #2192

Open
wants to merge 33 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
471d1ff
update readme and add sequence diagrams
sarahc-dev May 9, 2023
8629aaa
design database and add create seeds
sarahc-dev May 9, 2023
44cbc75
trying to upload image to readme
sarahc-dev May 9, 2023
d047cee
add design images to repo and update readme
sarahc-dev May 9, 2023
42b8211
added unique constraint to db
sarahc-dev May 10, 2023
bc001be
plan routes and repository classes
sarahc-dev May 10, 2023
06aeeb8
initial files setup
sarahc-dev May 10, 2023
f44572b
test drive #all_with_user
sarahc-dev May 10, 2023
b19e2c7
test drive #create
sarahc-dev May 10, 2023
b5d7f04
amend order to desc
sarahc-dev May 10, 2023
82eab1c
test drive #find_by_id
sarahc-dev May 10, 2023
0c7e713
test drive index view showing all peeps
sarahc-dev May 10, 2023
38f1d48
test drive get /peeps/new
sarahc-dev May 10, 2023
fe6bc92
test drive post /peeps to add new peep
sarahc-dev May 10, 2023
984cfea
test drive get /signin and created layout
sarahc-dev May 11, 2023
9ac9902
test drive get /login
sarahc-dev May 11, 2023
aeb1b82
test drive #create and #find_by_email in user repository and post /si…
sarahc-dev May 11, 2023
f6af577
test drive #log_in and post /login - user can log in
sarahc-dev May 11, 2023
ff2b9dd
test drive get /logout
sarahc-dev May 11, 2023
76f09ad
refactoring
sarahc-dev May 11, 2023
122d85e
replace hardcoded user id with session id
sarahc-dev May 11, 2023
9befda3
added error handling and input sanitization to post routes
sarahc-dev May 12, 2023
259711e
amended routes to add get /peeps and move sign in to /
sarahc-dev May 12, 2023
19036e9
add css styles and format date
sarahc-dev May 13, 2023
e50a762
add reply feature
sarahc-dev May 13, 2023
334f8c3
handle duplicate email/username on signup
sarahc-dev May 13, 2023
a9761a6
add feature to display tags on peeps
sarahc-dev May 14, 2023
30d0354
add feature to create tags on new peeps
sarahc-dev May 14, 2023
33b0880
setup for deploy
sarahc-dev May 14, 2023
6615d17
amend DatabaseConnection class for deploy
sarahc-dev May 14, 2023
d9bba8b
remove test db from DatabaseConnection.connect
sarahc-dev May 14, 2023
6e91aca
update readme
sarahc-dev May 14, 2023
5feb106
Update README.md
sarahc-dev Aug 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,12 @@ end
group :development, :test do
gem 'rubocop', '1.20'
end

gem "sinatra", "~> 3.0"
gem "sinatra-contrib", "~> 3.0"
gem "webrick", "~> 1.8"
gem "rack-test", "~> 2.1"

gem "pg", "~> 1.5"

gem "bcrypt", "~> 3.1"
31 changes: 31 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,21 @@ GEM
specs:
ansi (1.5.0)
ast (2.4.2)
bcrypt (3.1.18)
diff-lcs (1.4.4)
docile (1.4.0)
multi_json (1.15.0)
mustermann (3.0.0)
ruby2_keywords (~> 0.0.1)
parallel (1.20.1)
parser (3.0.2.0)
ast (~> 2.4.1)
pg (1.5.3)
rack (2.2.7)
rack-protection (3.0.6)
rack
rack-test (2.1.0)
rack (>= 1.3)
rainbow (3.0.0)
regexp_parser (2.1.1)
rexml (3.2.5)
Expand Down Expand Up @@ -36,6 +46,7 @@ GEM
rubocop-ast (1.11.0)
parser (>= 3.0.1.1)
ruby-progressbar (1.11.0)
ruby2_keywords (0.0.5)
simplecov (0.21.2)
docile (~> 1.1)
simplecov-html (~> 0.11)
Expand All @@ -46,18 +57,38 @@ GEM
terminal-table
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.3)
sinatra (3.0.6)
mustermann (~> 3.0)
rack (~> 2.2, >= 2.2.4)
rack-protection (= 3.0.6)
tilt (~> 2.0)
sinatra-contrib (3.0.6)
multi_json
mustermann (~> 3.0)
rack-protection (= 3.0.6)
sinatra (= 3.0.6)
tilt (~> 2.0)
terminal-table (3.0.1)
unicode-display_width (>= 1.1.1, < 3)
tilt (2.1.0)
unicode-display_width (2.0.0)
webrick (1.8.1)

PLATFORMS
ruby
x86_64-linux

DEPENDENCIES
bcrypt (~> 3.1)
pg (~> 1.5)
rack-test (~> 2.1)
rspec
rubocop (= 1.20)
simplecov
simplecov-console
sinatra (~> 3.0)
sinatra-contrib (~> 3.0)
webrick (~> 1.8)

RUBY VERSION
ruby 3.0.2p107
Expand Down
Loading