-
Navigate to the
backenddirectory:cd backend -
Install dependencies:
npm install
-
Create a
.envfile in thebackenddirectory and add your MongoDB connection string:MONGO_URI=mongodb://localhost:27017/studentteam -
Start the backend server:
node server.js
-
Navigate to the
my-react-appdirectory:cd my-react-app -
Install dependencies:
npm install
-
Start the frontend application:
npm start
- POST /api/members: Add a new member.
- Request Body:
{ name, role, email, contact, image } - Example:
{
- Request Body:
- GET /api/members: Get all members.
- Response:
[ {
- Response:
- GET /api/members/:id: Get details of a specific member.
- Response:
{
- Response:
-
Start the backend server:
cd backend node server.js -
Start the frontend application:
cd my-react-app npm start
Manas8114 (https://github.com/manas8114) ,Chetan (https://github.com/Chetanvikas1), Goverdhan (https://github.com/Goverdhan)
