Skip to content
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
11 changes: 11 additions & 0 deletions bsg-frontend/apps/extension/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,24 @@ import { faPaperPlane, faSmile, faCopy } from '@fortawesome/free-solid-svg-icons
import { faGoogle } from '@fortawesome/free-brands-svg-icons'
import RoomChoice from './room-choice'
import { useChatSocket } from '../hooks/useChatSocket'
import DefaultPopup from './defaultPopup'

const poppins = Poppins({ weight: '400', subsets: ['latin'] })


export default function App({ Component, pageProps }: AppProps) {
const isDefaultPopup = Component === DefaultPopup

if(isDefaultPopup){
return (
<div className={poppins.className}>
<Component {...pageProps} />
</div>
)
}

return (
//Implement Scrollbar code here
<div className={poppins.className}>
<Component {...pageProps} />
</div>
Expand Down
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ services:
# image: bsg-server
ports:
- 3001:3000
depends_on:
Copy link
Contributor

@ryanpolasky ryanpolasky Feb 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dunno why i was requested for review but this is chill. it doesn't really do much on my server since we're putting up the redis already, so this depends_on just tells docker compose to up redis before the server. won't break anythin on my end 👍

- redis-cache
environment:
- GOOGLE_CLIENT_ID=${GOOGLE_CLIENT_ID}
- GOOGLE_CLIENT_SECRET=${GOOGLE_CLIENT_SECRET}
Expand Down
5 changes: 5 additions & 0 deletions server/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ async function startServer() {
}
});

const submissionRoutes = require('./routes/submission');
app.use('/submission', submissionRoutes);

const roomsRoutes = require('./routes/rooms');
app.use('/rooms', roomsRoutes);

app.listen(port, () => {
console.log(`Server listening on port ${port}`);
Expand Down
6 changes: 6 additions & 0 deletions server/src/routes/room.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
const express = require('express')
const router = express.Router();

router.get('/room:id', (req, res) => {
res.send("This is the room")
})