A full-stack web application for managing team members with features to add, view, and manage team member details.
- Add new team members with profile pictures
- View all team members in a grid layout
- View detailed information about each team member
- Responsive design for all screen sizes
- Frontend: React.js
- Backend: Node.js, Express.js
- Database: MongoDB
- File Storage: Local file system for images
- Clone the repository:
git clone https://github.com/your-username/team-management.git
cd team-management- Install backend dependencies:
cd backend
npm install- Install frontend dependencies:
cd ../frontend
npm install- Start the backend server:
cd backend
npm startThe backend server will run on http://localhost:5002
- Start the frontend development server:
cd frontend
npm startThe frontend will run on http://localhost:3002
-
GET /api/members- Retrieves all team members
- Response: Array of member objects
-
GET /api/members/:id- Retrieves a specific team member by ID
- Response: Member object
-
POST /api/members- Creates a new team member
- Request body: Form data with name, role, email, and image
- Response: Created member object
team-management/
├── backend/
│ ├── controllers/
│ ├── models/
│ ├── routes/
│ ├── uploads/
│ ├── server.js
│ └── package.json
├── frontend/
│ ├── public/
│ ├── src/
│ │ ├── components/
│ │ ├── pages/
│ │ ├── App.js
│ │ └── index.js
│ └── package.json
├── .gitignore
└── README.md
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.