Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
233 commits
Select commit Hold shift + click to select a range
5f6d8c7
Setting up GitHub Classroom Feedback
github-classroom[bot] Sep 11, 2023
e442a39
Add assignment deadline url
github-classroom[bot] Sep 11, 2023
8fa1ffc
setup basic scaffold for backend and frontend
s7manth Sep 16, 2023
ec151a9
edit readme for the purpose of pushing milestone branch
s7manth Sep 16, 2023
a22f6c5
Merge branch 'milestone1' into setupScaffold
s7manth Sep 16, 2023
916b6a9
add requirements.txt file for the user service
s7manth Sep 16, 2023
8603df2
Merge pull request #3 from CS3219-AY2324S1/setupScaffold
naranghardik16 Sep 16, 2023
a234e39
setup chakra ui as the primary component library
s7manth Sep 16, 2023
d29d3b6
add prettier config and plugin to sort imports
s7manth Sep 16, 2023
a38c5eb
Merge pull request #4 from CS3219-AY2324S1/setupChakraUi
naranghardik16 Sep 16, 2023
111dc76
setup directories for other microservices
s7manth Sep 16, 2023
3f7450d
Merge pull request #5 from CS3219-AY2324S1/setupOtherMicroservices
naranghardik16 Sep 16, 2023
da30fb3
change entry file of the user-service from app.py to main.py
naranghardik16 Sep 16, 2023
7378c6c
:construction: Added FastAPI authentication and token generation func…
naranghardik16 Sep 16, 2023
ea1d75b
:construction: Implemented authentication middleware for retrieving t…
naranghardik16 Sep 16, 2023
5d80114
:construction: Implemented endpoint to validate and retrieve the curr…
naranghardik16 Sep 16, 2023
1436596
add basic routing setup and complete homepage for the application
s7manth Sep 17, 2023
9ddac16
add comprehensive instructions for local development and conventions …
s7manth Sep 17, 2023
f2aa30b
Merge pull request #7 from CS3219-AY2324S1/basicRoutingSetup
s7manth Sep 17, 2023
994cc93
Merge branch 'milestone1' into instructions
s7manth Sep 17, 2023
fdbde67
Merge pull request #8 from CS3219-AY2324S1/instructions
s7manth Sep 17, 2023
fa5a96f
factor out button into a separate component adhering to the theme of …
s7manth Sep 17, 2023
459fa86
factor out button into a separate component adhering to the theme of …
s7manth Sep 17, 2023
c28c112
fix formatting
s7manth Sep 17, 2023
7d24329
change the title of the application
s7manth Sep 17, 2023
b498ad6
:construction: Implemented FastAPI Token Authentication Endpoint
naranghardik16 Sep 17, 2023
532cdb0
:bug: Fix Environment Variable Access in Token Authentication Endpoint
naranghardik16 Sep 17, 2023
bc063e8
:white_check_mark: Test Authentication and Authorization
naranghardik16 Sep 17, 2023
1ba27b6
Merge branch 'milestone1' into simpleUserAuth
naranghardik16 Sep 17, 2023
f8bac47
Merge pull request #10 from CS3219-AY2324S1/simpleUserAuth
naranghardik16 Sep 17, 2023
83ec31d
:construction: Added UserAuth, UserOut, and UserUpdate Pydantic Model…
naranghardik16 Sep 17, 2023
c70d249
add basic login and signup pages with form elements
s7manth Sep 17, 2023
65abe25
:construction: Added TokenSchema and TokenPayload classes for authent…
naranghardik16 Sep 17, 2023
8f48400
:sparkles: Implemented User Document Model with Beanie and Pydantic f…
naranghardik16 Sep 17, 2023
b96f3a2
:sparkles: Organized Project Structure: Added 'api', 'core', and 'co…
naranghardik16 Sep 17, 2023
aeca0d2
:rocket: Initialize Application with Beanie and CORS Middleware
naranghardik16 Sep 17, 2023
83555ff
try adding state management to the forms
s7manth Sep 17, 2023
655b043
add black configuration for all the services for unifrom formatting
s7manth Sep 17, 2023
e3c563d
fix formatting of user service files
naranghardik16 Sep 17, 2023
88bd872
re-format files for 2 spaces indent
s7manth Sep 17, 2023
8cea561
add basic state management and complete sign up and login forms
s7manth Sep 18, 2023
6cc8ad6
Merge pull request #11 from CS3219-AY2324S1/userAuthPages
naranghardik16 Sep 18, 2023
df1d4bf
add additional ignore file patterns for env dev and prod
s7manth Sep 18, 2023
e3fb05b
change readme for providing instructions on maintaining enviroment va…
s7manth Sep 18, 2023
94108f5
add details to readme regarding the name of the .env files
s7manth Sep 18, 2023
69ba4b6
add instruction for vite env var access
s7manth Sep 18, 2023
8d512dd
Merge pull request #12 from CS3219-AY2324S1/addEnvProdAndDev
naranghardik16 Sep 18, 2023
20de241
Merge branch 'milestone1' into farmStackAuth
s7manth Sep 18, 2023
97d4fc3
change the structure of api folder and add a Makefile for one stop fo…
s7manth Sep 18, 2023
57b4ea6
update requirements for user service with pyflake and isort
s7manth Sep 18, 2023
fd2f598
fix auth related bugs and deprecated imports
s7manth Sep 18, 2023
8e36959
add forgot password functionality
Shivang211 Sep 19, 2023
ec7c3ae
fix redundant usage of flex containers
s7manth Sep 19, 2023
bf8bcb3
Merge branch 'milestone1' into passwordHandlingPages
s7manth Sep 19, 2023
96f603e
Merge pull request #13 from CS3219-AY2324S1/passwordHandlingPages
s7manth Sep 19, 2023
bcec07f
Merge branch 'milestone1' into farmStackAuth
s7manth Sep 19, 2023
0f63145
Merge pull request #14 from CS3219-AY2324S1/farmStackAuth
s7manth Sep 19, 2023
cb2ee1b
Set-up project and add basic apis for getting and creating question
e0661424 Sep 29, 2023
45ff7fe
:bug: Fix authentication logic
naranghardik16 Oct 8, 2023
475eef6
Merge pull request #15 from CS3219-AY2324S1/fixAuthBackend
Shivang211 Oct 8, 2023
6555a15
Add leetcode web scraper api
e0661424 Oct 18, 2023
703d90d
add loading navbar and difficulty select pages
Shivang211 Oct 26, 2023
7d98ec0
add basic matching service implementation (left with creating rooms)
s7manth Oct 26, 2023
3c2063c
Merge branch 'questionService' into matchingServiceSetup
s7manth Oct 26, 2023
b7a7882
change question service to adhere with agreed notation
s7manth Oct 26, 2023
4ecf31a
change question service by extending functionality to support title b…
s7manth Oct 26, 2023
36709da
Merge pull request #21 from CS3219-AY2324S1/improveQuestionService
naranghardik16 Oct 26, 2023
953061c
add implementation for the creation of room of two sockets and integr…
s7manth Oct 26, 2023
dd43ef3
Merge pull request #22 from CS3219-AY2324S1/matchingServiceSetup
naranghardik16 Oct 26, 2023
1ee8b86
add user profile pages
Shivang211 Oct 26, 2023
e070ea4
Merge branch 'milestone1' into frontendDev
naranghardik16 Oct 26, 2023
b4c0dec
implement basic history service
s7manth Oct 27, 2023
a598ba1
add requirements.txt for history service
s7manth Oct 27, 2023
e9e2001
:construction: Add live-collaborative code editor with socket.io support
naranghardik16 Oct 27, 2023
9ef0ecb
fix bugs to resolve basic functionality in history service
s7manth Oct 27, 2023
1633d76
Merge pull request #23 from CS3219-AY2324S1/setupHistoryService
naranghardik16 Oct 27, 2023
6e26082
uninstall material ui
s7manth Nov 3, 2023
8cd85d6
clean the forgot password page to keep the structure uniform
s7manth Nov 3, 2023
733a123
add cosmetic changes to verification email page
s7manth Nov 3, 2023
06018d6
change casing of MatchMaker
s7manth Nov 3, 2023
7322dbc
make basic workspace page for users to collarborate on
s7manth Nov 3, 2023
6b27e33
update frontend
Shivang211 Nov 3, 2023
52fa930
Merge pull request #25 from CS3219-AY2324S1/frontendDev
s7manth Nov 3, 2023
a9a7e5c
resolve merge conflicts
s7manth Nov 3, 2023
c56d16e
Merge pull request #24 from CS3219-AY2324S1/monacoEditor
s7manth Nov 3, 2023
41526f4
fix merge conflicts, they are a pain
s7manth Nov 3, 2023
e03c17a
Merge pull request #26 from CS3219-AY2324S1/fixMergeIssues
Shivang211 Nov 3, 2023
eadffaa
update question history
Shivang211 Nov 3, 2023
bc55d45
resolve merge conflicts
Shivang211 Nov 3, 2023
773514e
update profile page
Shivang211 Nov 3, 2023
1103eb1
fix package lock
Shivang211 Nov 3, 2023
d75ca20
Merge pull request #27 from CS3219-AY2324S1/userProfilePage
s7manth Nov 3, 2023
5e94fae
perfect navbar
s7manth Nov 3, 2023
c21c04a
change edit profile to user settings
s7manth Nov 3, 2023
5b37e59
implement question panel and fix a lot of frontend
s7manth Nov 5, 2023
da09579
Merge pull request #29 from CS3219-AY2324S1/questionPanel
s7manth Nov 5, 2023
74fb883
format using cblack
s7manth Nov 5, 2023
fe8c9c9
complete user service integration
s7manth Nov 5, 2023
2fc94b6
remove argument to be a dependency for the socket event handlers
s7manth Nov 6, 2023
179c262
update the requirements for all microservices
s7manth Nov 6, 2023
4a33c1a
change name of Navbar to NavBar
s7manth Nov 6, 2023
0c357cf
Merge pull request #30 from CS3219-AY2324S1/completeUserService
Shivang211 Nov 6, 2023
d0728e2
Merge branch 'milestone1' into updateRequirements
s7manth Nov 6, 2023
746bd35
Merge pull request #35 from CS3219-AY2324S1/updateRequirements
s7manth Nov 6, 2023
b67bb1f
Merge branch 'milestone1' into completeMatchingService
s7manth Nov 6, 2023
68fe643
update with upvote/downvote
loose-bus-change Nov 6, 2023
e4c4aed
fix spelling mistake in test socketapp file
s7manth Nov 6, 2023
f98fc8f
update question handler
loose-bus-change Nov 7, 2023
1090603
make case insensitive
loose-bus-change Nov 7, 2023
ff209b4
connection question n history
loose-bus-change Nov 8, 2023
9189234
Complete chat functionality and add mock UI component
e0661424 Nov 10, 2023
203bee8
Add mock chat component
e0661424 Nov 10, 2023
33c2171
:construction: Add header for chat interface
naranghardik16 Nov 10, 2023
95a0ebd
:construction: Add footer for chat interface
naranghardik16 Nov 10, 2023
802aaf8
:construction: Add divider for chat interface
naranghardik16 Nov 10, 2023
9aa9be7
:construction: Add messages for chat interface
naranghardik16 Nov 10, 2023
ff0f8d7
:construction: Add chat interface
naranghardik16 Nov 10, 2023
d05b99f
:construction: Center the chat component in the ViewPort
naranghardik16 Nov 10, 2023
2e540f0
:construction: Rename to Sumanth
naranghardik16 Nov 10, 2023
62d3b64
Merge remote-tracking branch 'origin/milestone1' into communicationSe…
e0661424 Nov 11, 2023
67ce3c9
question service api
loose-bus-change Nov 11, 2023
78e0659
Merge pull request #37 from CS3219-AY2324S1/chatFrontend
naranghardik16 Nov 11, 2023
30e7530
testing skeleton
Shivang211 Nov 11, 2023
9ca19dc
Update WorkspacePage.tsx
loose-bus-change Nov 12, 2023
3cbab96
Update WorkspacePage.tsx
loose-bus-change Nov 12, 2023
d4ebe18
Update QuestionPanel.tsx
loose-bus-change Nov 12, 2023
a283c4b
Update QuestionPanel.tsx
loose-bus-change Nov 12, 2023
0d8795b
Update question_handler.py
loose-bus-change Nov 12, 2023
1596f82
Merge pull request #39 from CS3219-AY2324S1/questionServiceEnhanced
pranav-ganesh Nov 12, 2023
39fa717
Merge pull request #38 from CS3219-AY2324S1/communicationService
pranav-ganesh Nov 12, 2023
619f62c
backend code execution
loose-bus-change Nov 12, 2023
588d4b9
add tests
Shivang211 Nov 12, 2023
f17ae06
UI changes
loose-bus-change Nov 12, 2023
b451eeb
Integrate backend to latest chat frontend
e0661424 Nov 13, 2023
22acf31
question details page
loose-bus-change Nov 13, 2023
4794a6d
reinitialize matching service to be on express instead of fastapi due…
s7manth Nov 13, 2023
6e624d5
remove merge conflicts
s7manth Nov 13, 2023
bd5a508
Merge branch 'milestone1' into historyServiceFrontend
s7manth Nov 13, 2023
5aa4f8e
:white_check_mark: Add test structure for user service
naranghardik16 Nov 13, 2023
1900e68
show correct errors for code execution
loose-bus-change Nov 13, 2023
6b0cf29
:white_check_mark: Add basic test cases for user service
naranghardik16 Nov 13, 2023
b0412e4
fix some test cases for frontend, button click still not working
s7manth Nov 13, 2023
d0df8f8
:white_check_mark: Add more tests for user service
naranghardik16 Nov 13, 2023
85c8978
:white_check_mark: Add test cases for auth endpoints - login, test-to…
naranghardik16 Nov 13, 2023
dd8597b
:recycle: Refactor auth test cases into a different file
naranghardik16 Nov 13, 2023
3444ada
Merge pull request #41 from CS3219-AY2324S1/testBackendUserService
s7manth Nov 13, 2023
781e39b
Merge pull request #40 from CS3219-AY2324S1/chatFrontendIntegration
s7manth Nov 13, 2023
936690c
Merge branch 'milestone1' into completeMatchingService
s7manth Nov 13, 2023
abf51ac
show error
loose-bus-change Nov 13, 2023
1c6b5a9
improve UI
loose-bus-change Nov 13, 2023
6eb5a57
:white_check_mark: Add tests for history service
naranghardik16 Nov 14, 2023
d284328
:heavy_plus_sign: Update requirements.txt
naranghardik16 Nov 14, 2023
ea64ad8
Merge pull request #42 from CS3219-AY2324S1/testBackendHistoryService
naranghardik16 Nov 14, 2023
40455d4
create new codeEditor
loose-bus-change Nov 14, 2023
2917f29
Update requirements.txt
e0661424 Nov 14, 2023
e5c800e
revert UI changes
loose-bus-change Nov 14, 2023
1bce5e7
Merge branch 'codeExecution' of https://github.com/CS3219-AY2324S1/ay…
loose-bus-change Nov 14, 2023
8900bbe
add comment
loose-bus-change Nov 14, 2023
63e3f75
Merge branch 'milestone1' into codeExecution
loose-bus-change Nov 14, 2023
e7beacf
change same method name
loose-bus-change Nov 14, 2023
36f87bd
Merge branch 'codeExecution' of https://github.com/CS3219-AY2324S1/ay…
loose-bus-change Nov 14, 2023
5a84b8b
Merge pull request #43 from CS3219-AY2324S1/codeExecution
pranav-ganesh Nov 14, 2023
af292eb
delete unnecessary files
loose-bus-change Nov 14, 2023
8892cf3
Merge branch 'milestone1' into questionPage
loose-bus-change Nov 14, 2023
d03355c
Merge pull request #44 from CS3219-AY2324S1/questionPage
pranav-ganesh Nov 14, 2023
7d3d87c
implement basic matching service functionality, left with orm control…
s7manth Nov 14, 2023
fd6d0b4
Add collaboration integration
e0661424 Nov 14, 2023
d7ed00d
Remove test code
e0661424 Nov 14, 2023
42a660f
reformat question service
s7manth Nov 14, 2023
8e3f7e8
complete orm controller for sqlite in memory database
s7manth Nov 14, 2023
c1b597a
complete matching service functionality
s7manth Nov 14, 2023
a7c3bf7
resolve merge conflicts in question service
s7manth Nov 14, 2023
1fc85ea
Merge pull request #46 from CS3219-AY2324S1/completeMatchingService
s7manth Nov 14, 2023
d4a6793
Merge pull request #45 from CS3219-AY2324S1/collabIntegration
s7manth Nov 14, 2023
a5c4ce9
remove unused imports from matching service
s7manth Nov 14, 2023
037c2c4
remove unused BaseModel import from user service
s7manth Nov 14, 2023
94724f0
add matching context
s7manth Nov 14, 2023
e218198
Enhance question list
e0661424 Nov 14, 2023
894814a
Merge branch 'milestone1' into historyServiceFrontend
s7manth Nov 15, 2023
02802c4
Merge pull request #47 from CS3219-AY2324S1/historyServiceFrontend
Shivang211 Nov 15, 2023
3eb0ea7
add filtering feature
loose-bus-change Nov 15, 2023
c28f7c3
add testing
Shivang211 Nov 15, 2023
23c92e4
Merge pull request #48 from CS3219-AY2324S1/addTesting
Shivang211 Nov 15, 2023
c430abd
fix dev issue
Shivang211 Nov 15, 2023
69a7607
Merge pull request #49 from CS3219-AY2324S1/questionsFilter
loose-bus-change Nov 15, 2023
b119a94
Merge branch 'milestone1' into furtherEnhanceQuesService
loose-bus-change Nov 15, 2023
f59593f
Merge pull request #50 from CS3219-AY2324S1/furtherEnhanceQuesService
loose-bus-change Nov 15, 2023
68d1ee3
:white_check_mark: Add basic tests for question service
naranghardik16 Nov 15, 2023
f64381b
Merge pull request #51 from CS3219-AY2324S1/testBackendQuestionService
naranghardik16 Nov 15, 2023
93531d6
complete the user flow of matching along with frontend integration
s7manth Nov 15, 2023
391f170
resolve merge conflicts
s7manth Nov 15, 2023
82971f9
resolve merge conflicts
s7manth Nov 15, 2023
04454f8
make product run e2e
s7manth Nov 15, 2023
fb9389a
Merge pull request #52 from CS3219-AY2324S1/collaborationAndMatchingI…
naranghardik16 Nov 15, 2023
eab1a2c
changes language preference as expected
s7manth Nov 15, 2023
0f2be06
Merge pull request #53 from CS3219-AY2324S1/languagePreference
naranghardik16 Nov 15, 2023
fee60ce
fix merge conflicts
Shivang211 Nov 15, 2023
6fe3634
integrate history service
Shivang211 Nov 15, 2023
60b8c3f
integrate history service
s7manth Nov 15, 2023
6b9c920
Merge pull request #54 from CS3219-AY2324S1/integrateHistoryService
Shivang211 Nov 15, 2023
d22f333
Merge pull request #55 from CS3219-AY2324S1/milestone1
Shivang211 Nov 15, 2023
3fb85d6
Enhance userprofile page
e0661424 Nov 15, 2023
5a2ec84
Refine code execution
e0661424 Nov 16, 2023
013fbf1
add refinements (chat)
e0661424 Nov 16, 2023
8b737e8
Add package lock to gitignore
e0661424 Nov 16, 2023
3ee6787
Remove package-lock file
e0661424 Nov 16, 2023
2402087
fix minor issues
e0661424 Nov 16, 2023
42d2a0d
Add package-lock
e0661424 Nov 16, 2023
4564e0f
add exe to gitignore
e0661424 Nov 16, 2023
fc27670
remove temp executable
e0661424 Nov 16, 2023
ed77a1a
assignment 1
loose-bus-change Nov 16, 2023
021af1d
complete enhancements
s7manth Nov 17, 2023
2ebee53
Merge pull request #57 from CS3219-AY2324S1/addEnhancements
s7manth Nov 17, 2023
0363581
:construction: Add docker
naranghardik16 Nov 17, 2023
f3674e1
:construction: Add docker
naranghardik16 Nov 17, 2023
49627a9
hot fix
s7manth Nov 17, 2023
5c5104b
Merge pull request #58 from CS3219-AY2324S1/dockerTillCompletion
s7manth Nov 17, 2023
c6f84c3
finalize code
loose-bus-change Nov 17, 2023
4b3ff8f
persist the data
loose-bus-change Nov 18, 2023
70c0600
add CRUD
Shivang211 Nov 18, 2023
33cbfec
Merge pull request #60 from CS3219-AY2324S1/questionRepoAssignment
s7manth Nov 18, 2023
3498913
add is_admin field
s7manth Nov 18, 2023
af22b75
update requirements.txt
s7manth Nov 18, 2023
1418c41
add frontend markup for the user roles
s7manth Nov 18, 2023
c1a2f1d
add user roles functionality to frontend
s7manth Nov 18, 2023
060461b
Merge pull request #61 from CS3219-AY2324S1/addUserRoles
s7manth Nov 18, 2023
9724a47
add crud operations for question repo
e0661424 Nov 18, 2023
c2f81c5
Merge branch 'master' into questionRepoBackendCrudOps
pranav-ganesh Nov 18, 2023
5c2a8b7
add changes to api routes
e0661424 Nov 18, 2023
09fa2d3
Merge remote-tracking branch 'origin/questionRepoBackendCrudOps' into…
e0661424 Nov 18, 2023
89796bd
merge commit (2)
e0661424 Nov 18, 2023
59edb04
Merge pull request #62 from CS3219-AY2324S1/questionRepoBackendCrudOps
pranav-ganesh Nov 18, 2023
cee753f
Merge pull request #59 from CS3219-AY2324S1/userDelete
s7manth Nov 18, 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
File renamed without changes.
301 changes: 301 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,301 @@
# Frontend
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variable files
.env
.env.development
.env.development.local
.env.test.local
.env.production
.env.production.local
.env.local

# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache

# Next.js build output
.next
out

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*

# Microservices
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
.pybuilder/
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# poetry
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
# This is especially recommended for binary packages to ensure reproducibility, and is more
# commonly ignored for libraries.
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
#poetry.lock

# pdm
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
#pdm.lock
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
# in version control.
# https://pdm.fming.dev/#use-with-ide
.pdm.toml

# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# IDE settings cache
.vscode/
.idea/

# macOS
.DS_Store

# In-memory databases
*.db

# Executable
backend/code-execution-service/temp_executable
32 changes: 31 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
# AssignmentTemplate
[![Review Assignment Due Date](https://classroom.github.com/assets/deadline-readme-button-24ddc0f5d75046c5622901739e7c5dd533143b0c8e959d652212380cedb1ea36.svg)](https://classroom.github.com/a/6BOvYMwN)

## Team 24
This repository contains the source code for PeerPrep: A collaborative tool that will help you crack technical interviews with ease!

### Features Offered
---

### Documentation
---

### Tech Stack
---
| Component | Technologies |
| --- | --- |
| Frontend | React with TypeScript, Chakra UI, Vite.js |
| Backend | FastAPI, Beanie |
| Data Storages | Redis, MongoDB |
| Deployments | Docker, Kubernetes, AWS |

### Team Members
---
| Name | Mobile (+65) | Email | Links |
| --- | --- | --- | --- |
| Hardik Narang | 83087184 | [email protected] | [Github](https://github.com/naranghardik16) |
| Pranav | 81126484 | [email protected] | [Github](https://github.com/pranav-ganesh) |
| Saketh | 82533728 | [email protected] | [Github](https://github.com/loose-bus-change) |
| Shivang Gupta | 83538995 | [email protected] | [Website](https://drunkensailor.site), [Podcast](https://weneedtotalk.site), [Github](https://github.com/Shivang211) |
| Sumanth Yalamarty | 89442247 | [email protected] | [Website](https://s7manth.me), [Podcast](https://weneedtotalk.site), [Github](https://github.com/s7manth) |


14 changes: 14 additions & 0 deletions backend/Dockerfile.codeexec
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:3.11.0-bullseye

WORKDIR /app/backend/code-execution-service

# Install dependencies:
COPY ./code-execution-service/requirements.txt .
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
RUN . /opt/venv/bin/activate && pip install -r requirements.txt

COPY ./code-execution-service ./

EXPOSE 5001
CMD /opt/venv/bin/python3 -m uvicorn main:app --host 0.0.0.0 --port 5001
14 changes: 14 additions & 0 deletions backend/Dockerfile.collaboration
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM node:16

WORKDIR /app/backend/collaboration-service

COPY ./collaboration-service/package.json ./
COPY ./collaboration-service/package-lock.json ./

RUN npm install

COPY ./collaboration-service ./

EXPOSE 8004

CMD ["npm", "run", "dev"]
14 changes: 14 additions & 0 deletions backend/Dockerfile.communication
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:3.11.0-bullseye

WORKDIR /app/backend/communication-service

# Install dependencies:
COPY ./communication-service/requirements.txt .
ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
RUN . /opt/venv/bin/activate && pip install -r requirements.txt

COPY ./communication-service ./

EXPOSE 5002
CMD /opt/venv/bin/python3 -m uvicorn main:app --host 0.0.0.0 --port 5002
Loading