Skip to content

Commit

Permalink
fix: env section
Browse files Browse the repository at this point in the history
  • Loading branch information
harukafujii13 committed Dec 19, 2023
1 parent 2380112 commit be87335
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ npm run dev

4. Access the frontend web application at http://localhost:5173.

#### Server Environment Variables
#### Backend Environment Variables

Before running the backend, make sure to set the following environment variables in a `.env` file for the server (located in the `backend/` directory):

Expand All @@ -62,25 +62,23 @@ cp backend/.env-sample backend/.env
- `PORT`: The port on which the server should listen. (8000)
- `FRONTEND_URL`: The URL of the frontend application. (http://localhost:5173)

Add your connection string in postgresql
Add your connection string from postgresql.

- `DB_HOST`
- `DB_USER`
- `DB_PASS`
- `DB_NAME`
- `DB_PORT`

#### Client Environment Variables
#### Frontend Environment Variables

For the frontend web application, set the following environment variable in a `.env` file for the client (located in the `frontend/` directory):

```
cp frontend/.env-sample frontend/.env
```

- `VITE_API_BASE_URL`: The backend API endpoint URL for making requests from the frontend. (api/members)

5. Access the frontend web application at http://localhost:5173
- `VITE_API_BASE_URL`: The backend API endpoint URL for making requests from the frontend. (http://localhost:8000/api/members)

## Backend

Expand Down Expand Up @@ -119,8 +117,6 @@ The application addresses the following user stories:
<img width="1445" alt="AddPage" src="https://github.com/harukafujii13/team-member-management-app/assets/111606615/5cc5e709-3520-49b1-8637-49810f183489">
<img width="1454" alt="EditPage" src="https://github.com/harukafujii13/team-member-management-app/assets/111606615/f95245cd-5831-4ff3-b3b4-865eb1149f55">



## Conclusion

The Team Member Management app is a thoughtfully designed tool aimed at simplifying the complexities of organizational team management. With its user-friendly interface, the app facilitates efficient management of team member information, including their personal details and roles within the organization. By streamlining these processes, the app not only saves time but also enhances the overall efficiency and coordination within teams. Its implementation reflects a commitment to modernizing team management and supporting the dynamic needs of today's organizations.
Expand Down

1 comment on commit be87335

@vercel
Copy link

@vercel vercel bot commented on be87335 Dec 19, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.