Skip to content

Commit 99a172a

Browse files
Merge pull request #7 from CS3219-AY2425S1/ben/feature-table-page
feat: development for feature table
2 parents 30c6dbd + a39c355 commit 99a172a

File tree

24 files changed

+2223
-2410
lines changed

24 files changed

+2223
-2410
lines changed

apps/question-service/.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Replace with the corresponding url, credentials and endpoint
2+
NEXT_PUBLIC_API_URL="http://localhost:8080/"
File renamed without changes.

apps/web/.gitignore renamed to apps/question-service/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ yarn-error.log*
2727

2828
# local env files
2929
.env*.local
30+
.env
3031

3132
# vercel
3233
.vercel

apps/question-service/README.md

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
This is the frontend for the question service.
2+
3+
## Tech Stack
4+
5+
- Next.js
6+
- TypeScript
7+
- Ant Design
8+
- SCSS
9+
10+
## Getting Started
11+
12+
First, install the dependencies:
13+
14+
```bash
15+
npm install -g pnpm
16+
17+
pnpm install --frozen-lockfile
18+
19+
# if pnpm install --frozen-lockfile fails, try running
20+
pnpm install
21+
```
22+
23+
Then, follow the `.env.example` file and create a `.env` file in the current directory. Replace the necessary values within.
24+
25+
```bash
26+
NEXT_PUBLIC_API_URL=http://localhost:8080
27+
```
28+
29+
First, run the development server:
30+
31+
```bash
32+
pnpm dev
33+
```
34+
35+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
36+
37+
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
38+
39+
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)