Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
862d95e
committing code
dakshkhetan Mar 20, 2020
ba48bbe
update readme.md
dakshkhetan Mar 20, 2020
de1eeff
fix sidebar issue
dakshkhetan Mar 21, 2020
73609ea
stopped tracking .env file
dakshkhetan Mar 21, 2020
9be6229
update readme.md
dakshkhetan Mar 21, 2020
f1ed17f
update readme.md
dakshkhetan Mar 21, 2020
e7710f9
update readme.md
dakshkhetan Mar 21, 2020
31bb952
add 'disable users-connected editing' feature
dakshkhetan Mar 23, 2020
9fb332d
fix updation of users in sidebar
dakshkhetan Mar 25, 2020
a72a0f4
display users-connected editing state in Header
dakshkhetan Mar 25, 2020
6f68f53
change user-editing-state button styling
dakshkhetan Mar 25, 2020
243111c
improve toggle button styling
dakshkhetan Mar 25, 2020
f5142b6
add clone popup components
dakshkhetan Mar 28, 2020
b9225f0
implement 'send-clone' feature
dakshkhetan Mar 28, 2020
c353693
modified css
dakshkhetan Mar 28, 2020
093bbf2
install react-bootstrap dependency
dakshkhetan Mar 28, 2020
dd9d8ef
add clone-send (to single user) popup component
dakshkhetan Apr 7, 2020
93a0e1e
add function to send clone to particular user
dakshkhetan Apr 7, 2020
1d3bb9f
improve sidebar styling
dakshkhetan Apr 7, 2020
9576374
add lang dropdown menu & move clone btn to sidebar
dakshkhetan Apr 7, 2020
1ddcc45
improve language dropdown menu styling
dakshkhetan Apr 7, 2020
f2dfed9
fix session create button
dakshkhetan Apr 7, 2020
cbd4a3f
fix new session not creating bug
dakshkhetan Apr 7, 2020
8564449
fix user auth state bug
dakshkhetan Apr 7, 2020
4e53be3
fix session redirect when logged out bug
dakshkhetan Apr 7, 2020
cc03d69
display user presence status in sidebar
dakshkhetan Apr 12, 2020
6caa3bd
display creator's presence status in sidebar
dakshkhetan Apr 13, 2020
0adbff8
add presence status (dot) styling
dakshkhetan Apr 13, 2020
7be90c5
add firepad scripts to index.html
dakshkhetan Apr 13, 2020
f912651
switch to firepad editor
dakshkhetan Apr 13, 2020
2980a0d
fix: favicon not appearing
dakshkhetan Apr 21, 2020
ebcc376
display creator name below 'created on'
dakshkhetan Apr 21, 2020
ec51f28
fix: single clone popup state
dakshkhetan Apr 21, 2020
50c48d9
display no. of connected users in sidebar
dakshkhetan Apr 21, 2020
0822b21
add dashboard button in home page
dakshkhetan Apr 21, 2020
ac23fee
improve styling
dakshkhetan Apr 21, 2020
865dfda
add google fonts in index.html
dakshkhetan Apr 21, 2020
7e38bba
add dashboard route in App.js
dakshkhetan Apr 21, 2020
97a4743
display/edit session-title in header
dakshkhetan Apr 21, 2020
937aaed
improve styling
dakshkhetan Apr 21, 2020
c1ad588
display CN logo in header
dakshkhetan Apr 21, 2020
b28a0a0
add existing session-title to clones
dakshkhetan Apr 21, 2020
2684e5c
prevent space as input in session-title
dakshkhetan Apr 21, 2020
8212b0b
add dashboard page
dakshkhetan Apr 21, 2020
655095e
add dashboard styling
dakshkhetan Apr 21, 2020
e767745
add spinning loading icon on coding page
dakshkhetan Apr 22, 2020
5f0eca3
change firebase project
dakshkhetan Apr 22, 2020
e7d5482
update readme
dakshkhetan Apr 23, 2020
9e5e592
update index.html
dakshkhetan Apr 23, 2020
46d1004
add 'no session found' message in dashboard
dakshkhetan Apr 25, 2020
830575f
Delete hosting.YnVpbGQ.cache
dakshkhetan Apr 25, 2020
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
18 changes: 0 additions & 18 deletions .env

This file was deleted.

17 changes: 0 additions & 17 deletions .firebase/hosting.YnVpbGQ.cache

This file was deleted.

2 changes: 1 addition & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"projects": {
"default": "coderoom-aecd1"
"default": "coderoom-app"
}
}
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
# Coderoom | Coding Ninjas
### (http://coderoom-app.firebaseapp.com)
A collaborative place for sharing code in realtime!

## To run the project:
## To run the project (locally on your machine):
- Clone the project.
- Run command `npm install` to install all the dependencies required.
- Run command `npm run build` in the terminal to build the project.

#### For development mode:
- Run command `npm start` in the terminal to run the project in development mode.

#### For production mode:
- Run command `npm run build` in the terminal to build the project for production mode.
- Initialise the project using Firebase command-line tools and run command `firebase init`.
- Run command `firebase serve` in the terminal to start the Web App at `http://localhost:5000/`.
1 change: 0 additions & 1 deletion database.rules.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
/* Visit https://firebase.google.com/docs/database/security to learn more about security rules. */
"rules": {
".read": true,
".write": true
Expand Down
185 changes: 185 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,20 @@
"version": "0.1.0",
"private": true,
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.27",
"@fortawesome/free-solid-svg-icons": "^5.12.1",
"@fortawesome/react-fontawesome": "^0.1.9",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"bootstrap": "^4.4.1",
"env-cmd": "^10.1.0",
"firebase": "^7.9.1",
"firebase-tools": "^7.13.1",
"material-ui": "^0.20.2",
"random-key": "^0.3.2",
"react": "^16.12.0",
"react-bootstrap": "^1.0.0",
"react-codemirror": "^1.0.0",
"react-dom": "^16.12.0",
"react-helmet": "^5.2.1",
Expand Down
32 changes: 32 additions & 0 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,40 @@
<meta charset="utf-8" />
<link rel="icon" href="./favicon_CN.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Montserrat&family=Poppins:wght@400;500&family=Roboto:wght@400;500&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Code Room | Coding Ninjas</title>

<!-- Firebase -->
<!-- <script src="https://www.gstatic.com/firebasejs/7.13.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.13.2/firebase-database.js"></script> -->

<!-- Codemirror -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.17.0/codemirror.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/theme/dracula.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/hint/show-hint.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.17.0/codemirror.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/markdown/markdown.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/xml/xml.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.17.0/mode/javascript/javascript.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/clike/clike.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/mode/python/python.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/closetag.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/matchbrackets.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/closebrackets.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/matchtags.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/fold/xml-fold.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/edit/trailingspace.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/hint/show-hint.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/hint/javascript-hint.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/comment/comment.min.js"></script>
<script defer src="https://cdnjs.cloudflare.com/ajax/libs/codemirror/5.52.2/addon/display/placeholder.min.js"></script>

<!-- Firepad -->
<link rel="stylesheet" href="https://cdn.firebase.com/libs/firepad/1.5.3/firepad.css" />
<script src="https://cdn.firebase.com/libs/firepad/1.5.3/firepad.min.js"></script>

</head>
<body>
<div id="root"></div>
Expand Down
9 changes: 9 additions & 0 deletions src/components/Backdrop/Backdrop.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
.backdrop {
position: fixed;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: rgba(0,0,0,0.3);
z-index: 100;
}
Loading