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

Api endpoints #422

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 47 commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
949896a
Add required dependencies
vikitaotiz Jun 23, 2021
ff7fbb9
Add database configuration
vikitaotiz Jun 23, 2021
e2c6275
Add friendships controller
vikitaotiz Jun 23, 2021
c49bc1a
Add friendship model
vikitaotiz Jun 23, 2021
d8ebdf0
Add user helper
vikitaotiz Jun 23, 2021
5294a53
Add friend request button
vikitaotiz Jun 23, 2021
93404e5
Add pending friendship request
vikitaotiz Jun 23, 2021
3917213
Add received friend request
vikitaotiz Jun 23, 2021
0abec56
Add user friends
vikitaotiz Jun 23, 2021
cf77fc3
Fix linters
vikitaotiz Jun 23, 2021
ee6dd9f
Adjust show method and associations
vikitaotiz Jun 23, 2021
d7292b3
Add confirm method in users controller
vikitaotiz Jun 23, 2021
9442be6
Add destroy method in users controller
vikitaotiz Jun 23, 2021
77dab0e
Update readme file
vikitaotiz Jun 23, 2021
4ed2be4
Add friendship spec file
vikitaotiz Jun 23, 2021
27a6c66
Add comment spec file
vikitaotiz Jun 23, 2021
cc3d4d9
Add like spec file
vikitaotiz Jun 23, 2021
c95d314
Add post spec file
vikitaotiz Jun 23, 2021
95c437e
Add user spec file
vikitaotiz Jun 23, 2021
49a9454
Fix linters
vikitaotiz Jun 23, 2021
10692ab
Fix linters
vikitaotiz Jun 23, 2021
a204eb0
Add procfile file to autpomatically migrate files on the server
vikitaotiz Jun 23, 2021
93c897d
Add erd diagram
vikitaotiz Jun 23, 2021
1e43dec
Update readme file
vikitaotiz Jun 23, 2021
21a5397
Add image link to users
vikitaotiz Jun 23, 2021
0147c63
Add image link to users
vikitaotiz Jun 23, 2021
3091563
Merge pull request #1 from vikitaotiz/feature
vikitaotiz Jun 23, 2021
e1a2902
Add frienship model to readme file
vikitaotiz Jun 24, 2021
d71ecb4
Edit friendship alert message
vikitaotiz Jun 24, 2021
26aff9b
Add changes suggested by reviewer
vikitaotiz Jun 24, 2021
74bcd53
Add method to return logged in user's post and their friends'
vikitaotiz Jun 24, 2021
f67319c
Fix linters
vikitaotiz Jun 24, 2021
9e8d778
Fix user posts
vikitaotiz Jun 24, 2021
74d3bc3
Merge pull request #2 from vikitaotiz/friendship-v1
vikitaotiz Jun 24, 2021
0fdb600
Add mutual friendship to readme
vikitaotiz Jun 24, 2021
ccc2de6
Add mutual friendship to readme
vikitaotiz Jun 24, 2021
c763867
Add more tests
vikitaotiz Jun 25, 2021
0a95bc9
Fix uninitialized post class
vikitaotiz Jun 25, 2021
6730a60
Fix linters
vikitaotiz Jun 25, 2021
9bdf383
Fix timeline_posts method
vikitaotiz Jun 25, 2021
b1adf63
Merge pull request #3 from vikitaotiz/friendship-v2
vikitaotiz Jun 25, 2021
d9fe3cc
Deploy application to heroku
vikitaotiz Jun 25, 2021
444e149
Merge pull request #4 from vikitaotiz/deploy-app
vikitaotiz Jun 25, 2021
e9cf7ce
Add api endpoints posts and comments
vikitaotiz Nov 1, 2021
269cf96
Add authentication
vikitaotiz Nov 4, 2021
1a4b48f
Add authentication
vikitaotiz Nov 6, 2021
d4f2070
Fix linters
vikitaotiz Nov 6, 2021
615d966
Add api documentation
vikitaotiz Nov 6, 2021
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
6 changes: 5 additions & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,8 @@ Style/HashEachMethods:
Style/HashTransformKeys:
Enabled: false
Style/HashTransformValues:
Enabled: false
Enabled: false
Layout/EndOfLine:
Enabled: false
Metrics/PerceivedComplexity:
Enabled: false
11 changes: 9 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.0'
ruby '2.7.3'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.2.4'
Expand Down Expand Up @@ -45,9 +45,16 @@ group :development, :test do
end

group :test do
gem 'rspec'
gem 'rspec-rails'
gem 'shoulda', '~> 4.0'
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 3.26'
gem 'selenium-webdriver'
gem 'webdrivers'
end

gem 'jwt'

group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'listen', '>= 3.0.5', '< 3.2'
Expand Down
Loading