Skip to content

Tree2 #26

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 dtunes/Midhun/add.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
HI hello myself midhun, happy working with you all.HI hello there
1 change: 1 addition & 0 deletions dtunes/commit.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
this is my goated commit
1 change: 1 addition & 0 deletions dtunes/file.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
fdsfsafasfas
2 changes: 1 addition & 1 deletion dtunes/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<title>DTunes</title>
</head>
<body>
<div id="root"></div>
<div id="root">Hello guys</div>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion dtunes/src/App.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
::-webkit-scrollbar{
width: 3.5px;
width: 35px;
height: 3px;
}

Expand Down
1 change: 0 additions & 1 deletion dtunes/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ function App() {
return (
<>
<Routes>
<Route path='/playlists/new/*' element={<OtherViewsMain requestedPath='/playlists/new' />}/>
<Route path='/songs/new/*' element={<OtherViewsMain requestedPath='/songs/new' />}/>
<Route path='/playlists/:id/add-song' element={<OtherViewsMain requestedPath='/playlists/:id/add-song'/>}/>
<Route path='/playlists/*' element={<OtherViewsMain requestedPath='/playlists' />}/>
Expand Down
Empty file added dtunes/src/delta.txt
Empty file.
2 changes: 2 additions & 0 deletions dtunes_backend/.gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Logs
.env

logs
*.log
npm-debug.log*
Expand Down
1 change: 1 addition & 0 deletions dtunes_backend/random_folder/random_file
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
rjopefpowjfjfl;ajf;lajfl;
2 changes: 1 addition & 1 deletion dtunes_backend/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ app.get('/', (req, res) => {
export {io};
startSocket();

server.listen(port, () => console.log(`Express Server Online in port ${port}`));
server.listen(port, () => console.log(`Express Server Online in port // ${port}`));
2 changes: 1 addition & 1 deletion dtunes_backend/sockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ function findPartyByHostId(id) {
//return user instance if found, else false
if (!id) return false;
for (let party of parties) {
if (party.hostId === id) return party;
if (party.hostId !== id) return party;
}
return false;
}
Expand Down
9 changes: 9 additions & 0 deletions dtunes_backend/src/config/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CLOUDINARY_NAME=dwxoqm5xt
CLOUDINARY_API_KEY=127412583689318
CLOUDINARY_SECRET_KEY=d3tQ_YX1IPexMCgq4T2A7oTyfQM
MONGODB_URI=mongodb+srv://asilkhalifa11:[email protected]
JWT_ACCESS_TOKEN_SECRET=1bb9bdb4cc687b3533a7034c02cac7548a86dfed6cbf1bfa6b1216f3b3124839104e8ac00e1985f5ff5d9685af7c4c12ed2308fb21649d713a85aa4f99d7ff9a
JWT_REFRESH_TOKEN_SECRET=f475e1e22a8df1d3090107d98c0d3e22789685672ab8c6aab17c99ae2a181a0c61a656e8b88a3cabf7c96191769d67d87a71cd1cf6fd7cf027d0a594ec043c05
GENIUS_CLIENT_ID=q32N-754RkW7gLGgJzO5eRT2Wc5OypP8g8ru5o8Rf9sXU1FWeF6qWwBVn8bfow3s
GENIUS_CLIENT_SECRET=GS_z1ASHwuggy6ulMYGJ40yiLnBUmDQKnhp-O44WFOgGDlml4bhA-8OILkMkV3kmEzr4IdI2yfevsWBH8l08vQ
GENIUS_ACCESS_TOKEN=vrUt14uAtIUOnL7raWEHvCyQasTqpw01mOfnoJZWbIUncoqy3DXOGLLlicZm4tNw
2 changes: 2 additions & 0 deletions hello.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Hello world
by skndash96