Deploy to Vercel and Render

This commit is contained in:
Takeshi Kimata
2024-05-13 22:41:26 +09:00
parent be62d848cc
commit ca034407e1
5 changed files with 61 additions and 25 deletions

View File

@@ -1,11 +1,4 @@
# Test Case Manager Frontend
## Technologies
- React
- Next.js
- Tailwind CSS
- NextUI
# TestPlat Frontend
## Install dependencies
@@ -13,16 +6,16 @@
npm install
```
## Set Environmental variable
Create `.env` File
```
NEXT_PUBLIC_BACKEND_ORIGIN=http://localhost:3001
```
## Run the development server
```bash
npm run dev
```
## Edit Environmental variable
Create `.env` File
```
NEXT_PUBLIC_API_SERVER=http://localhost:3001
```

View File

@@ -1,5 +1,5 @@
const Config = {
apiServer: process.env.NEXT_PUBLIC_API_SERVER || 'http://localhost:3001',
apiServer: process.env.NEXT_PUBLIC_BACKEND_ORIGIN || 'http://localhost:3001',
};
export default Config;