A full-stack React contact management application with CRUD operations, search functionality, and REST API.
- β Add, edit, view, and delete contacts
- β Real-time search and filtering
- β React Router for navigation
- β JSON Server backend API
- β Responsive UI with Semantic UI
- Frontend: React, React Router, Semantic UI
- Backend: JSON Server
- State Management: React Hooks (useState, useEffect)
contact-app/
βββ contact-app/ # React frontend
β βββ src/
β β βββ components/ # React components
β β βββ App.js # Main app component
β βββ package.json
βββ server-api/ # JSON Server backend
βββ db.json # Database file
βββ package.json
- Node.js
- npm or yarn
-
Clone the repository
git clone https://github.com/mufeed-dev/Contact-App.git cd Contact-App -
Install frontend dependencies
cd contact-app npm install -
Install backend dependencies
cd ../server-api npm install
-
Start the backend server
cd server-api npm startServer runs on http://localhost:3001
-
Start the frontend
cd contact-app npm startApp runs on http://localhost:3000
- View Contacts: See all contacts on the home page
- Add Contact: Click "Add Contact" to create new contacts
- Search: Use the search bar to filter contacts
- Edit/Delete: Use the edit/delete icons on each contact card
- View Details: Click on a contact to see detailed view
GET /contacts- Get all contactsPOST /contacts- Create new contactPUT /contacts/:id- Update contactDELETE /contacts/:id- Delete contact
MIT License