Skip to content

Commit 88dcc9e

Browse files
authored
Merge pull request #69 from CS3219-AY2324S1/remove-question-desc
Remove decscription from Question Table
2 parents 1e9ac22 + be8c8d4 commit 88dcc9e

File tree

2 files changed

+32
-6
lines changed

2 files changed

+32
-6
lines changed

frontend/src/components/Questions/QuestionsTable.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ interface Question {
88
title: string;
99
tags: string[];
1010
categories: string[];
11-
constraints: string[];
11+
//constraints: string[];
1212
difficulty: string;
13-
description: string;
13+
//description: string;
1414
}
1515

1616
const ITEMS_PER_PAGE_OPTIONS = [5, 10]; // Number of items to display per page
@@ -59,9 +59,9 @@ const InterviewQuestionsTable: React.FC = () => {
5959
<TableCell>Title</TableCell>
6060
<TableCell>Tags</TableCell>
6161
<TableCell>Categories</TableCell>
62-
<TableCell>Constraints</TableCell>
62+
{/* <TableCell>Constraints</TableCell> */}
6363
<TableCell>Difficulty</TableCell>
64-
<TableCell>Description</TableCell>
64+
{/* <TableCell>Description</TableCell> */}
6565
</TableRow>
6666
</TableHead>
6767
<TableBody>
@@ -70,9 +70,9 @@ const InterviewQuestionsTable: React.FC = () => {
7070
<TableCell>{question.title}</TableCell>
7171
<TableCell>{question.tags.join(', ')}</TableCell>
7272
<TableCell>{question.categories.join(', ')}</TableCell>
73-
<TableCell>{question.constraints.join(', ')}</TableCell>
73+
{/* <TableCell>{question.constraints.join(', ')}</TableCell> */}
7474
<TableCell>{question.difficulty}</TableCell>
75-
<TableCell>{question.description}</TableCell>
75+
{/* <TableCell>{question.description}</TableCell> */}
7676
</TableRow>
7777
))}
7878
</TableBody>

start_services.sh

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#!/bin/bash
2+
3+
# Function to start an Express service
4+
start_service() {
5+
service_name=$1
6+
command=$2
7+
echo "Starting $service_name..."
8+
(cd $service_name && $command &)
9+
}
10+
11+
# Start all Express backend services
12+
start_service ApiGatewayService "npm run dev"
13+
start_service AuthService "npm run dev"
14+
start_service ChatService "npm run dev"
15+
start_service MatchingService "npm run dev"
16+
start_service QuestionService "npm run dev"
17+
start_service UserService "npm run dev"
18+
19+
# Start the frontend service
20+
start_service frontend "npm start"
21+
22+
# Notify user
23+
echo "All services are now running..."
24+
25+
# Wait for all background processes to finish
26+
wait

0 commit comments

Comments
 (0)