This project is a project for signal user's team management.
Backend: Django 4.1.3
Frontend: React, Taiwindcss, daisyUI, axios, react-router-dom
DataBase: Amazon RDS for MySQL
- Using the ip address and password in the email login server on Visual Studio Code
- cd /root/APIProject
cd /root/APIProject
- run backend project
python3 manage.py runserver
- go to frontend file
cd /root/APIProject/frontend
- run react
npm start
GET http://127.0.0.1:8000/api/team
GET http://127.0.0.1:8000/api/member
# http://127.0.0.1:8000/api/member/member_id
PUT http://127.0.0.1:8000/api/member/25
request body:
{
"team": 1,
"first_name": "update",
"last_name": "test",
"email": "[email protected]",
"phone": "3451347456",
"role": "0"
}
# http://127.0.0.1:8000/api/member/member_id
DELET http://127.0.0.1:8000/api/member/25
There is a nav bar on the top, in the left side, when you click Team Managment, it takes you to the home page.
in the right side, when you click Get Start, it takes you to the Team page.
http://localhost:3000/
In this page, the website display all teams. When you click a team card, it takes you to Team Member Page.
http://localhost:3000/Team
In this page, the website display all members in the team and the number of member in the team.
You can also add a new member, update a member and delete a member.
# http://localhost:3000/Team/team_id
http://localhost:3000/Team/8