Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
960d3a8
api endpoints on swagger ui
Vansh17 Mar 20, 2025
79a5459
list of participants api
Vansh17 Mar 21, 2025
285b0ce
fixing the internal server error
Vansh17 Mar 21, 2025
a1b356a
retrive participant by id api
Vansh17 Mar 21, 2025
d332318
updating a user by id api
Vansh17 Mar 21, 2025
5579c58
fixing the error of update api
Vansh17 Mar 21, 2025
f42b34a
getting the user with user index api
Vansh17 Mar 21, 2025
3669411
get participants by assignment id
Vansh17 Mar 22, 2025
33d5d84
adding a participant with authorization api
Vansh17 Mar 22, 2025
c23e5d5
delete a participant api
Vansh17 Mar 22, 2025
cdbff44
updating authorization fo the participants
Vansh17 Mar 22, 2025
e733477
Introduce strategies for Roles
brianhhuynh38 Mar 23, 2025
de10960
Setup basic implementations of Strategy pattern
brianhhuynh38 Mar 23, 2025
7342976
debugging of destroy method api
Vansh17 Mar 23, 2025
22c8aa4
Update README.md
akhiladusumilli100 Mar 23, 2025
a743e09
Removed outdated list code
akhiladusumilli100 Mar 23, 2025
6704a9e
Merge pull request #9 from brianhhuynh38/aadusum
akhiladusumilli100 Mar 23, 2025
008b0a4
RoleContext implementation complete
brianhhuynh38 Mar 24, 2025
7f5efdc
Merge branch 'participants' of https://github.com/brianhhuynh38/exper…
brianhhuynh38 Mar 24, 2025
5899ee8
Integrated RoleContext into participants_controller
brianhhuynh38 Mar 24, 2025
17db186
Made fixes for RSpec Tests
akhiladusumilli100 Mar 24, 2025
785773a
Fixes to RSpec tests
akhiladusumilli100 Mar 24, 2025
977fa33
Merge pull request #10 from brianhhuynh38/rspec_testing
akhiladusumilli100 Mar 24, 2025
9f22454
Adds end statement to broken if statement
brianhhuynh38 Mar 24, 2025
2bf6154
Got half of tests working and fixed API endpoint fallacies
brianhhuynh38 Mar 25, 2025
01087ea
Fix update endpoint
akhiladusumilli100 Mar 25, 2025
3e5a58e
Merge branch 'participants' into update
akhiladusumilli100 Mar 25, 2025
8b59991
Merge pull request #11 from brianhhuynh38/update
akhiladusumilli100 Mar 25, 2025
e4b7625
Remove redundant code + add test skeleton
brianhhuynh38 Mar 25, 2025
6f3eb6d
Merge branch 'main' into participants
akhiladusumilli100 Mar 25, 2025
48c3134
Merge pull request #12 from brianhhuynh38/participants
akhiladusumilli100 Mar 25, 2025
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
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ gem 'puma', '~> 5.0'
gem 'rails', '~> 8.0', '>= 8.0.1'
gem 'rswag-api'
gem 'rswag-ui'
gem 'paper_trail'

# Build JSON APIs with ease [https://github.com/rails/jbuilder]
# gem "jbuilder"
Expand Down
7 changes: 7 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ GEM
racc (~> 1.4)
nokogiri (1.15.2-x86_64-linux)
racc (~> 1.4)
paper_trail (16.0.0)
activerecord (>= 6.1)
request_store (~> 1.4)
parallel (1.23.0)
parser (3.2.2.3)
ast (~> 2.4.1)
Expand Down Expand Up @@ -229,6 +232,8 @@ GEM
regexp_parser (2.8.1)
reline (0.6.0)
io-console (~> 0.5)
request_store (1.7.0)
rack (>= 1.4)
rest-client (2.1.0)
http-accept (>= 1.7.0, < 2.0)
http-cookie (>= 1.0.2, < 2.0)
Expand Down Expand Up @@ -312,6 +317,7 @@ PLATFORMS
aarch64-linux
arm64-darwin-22
arm64-darwin-23
arm64-darwin-24
x64-mingw-ucrt
x86_64-linux

Expand All @@ -327,6 +333,7 @@ DEPENDENCIES
jwt (~> 2.7, >= 2.7.1)
lingua
mysql2 (~> 0.5.5)
paper_trail
puma (~> 5.0)
rack-cors
rails (~> 8.0, >= 8.0.1)
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,12 @@ alt="IMAGE ALT TEXT HERE" width="560" height="315" border="10" /></a>
### Database Credentials
- username: root
- password: expertiza

### Admin User Credentials
- username: [email protected]
- password: password123

### Logging in to Swagger UI
TO login to the Swagger UI, go to http://localhost:3002/api-docs/index.html and log in at
the Authentication /login API using the Admin credentials above. Then, use the given token in
Authorize at the top of the page.
Loading