Loading repository data…
Loading repository data…
exclusiveabhi / repository
Feedback Management System. This modern web app allows users to effortlessly submit and view feedback in real-time. Built with React and Node.js, it offers a sleek interface, instant updates, and a responsive design optimized for all devices.
The Feedback Management System is a web application that allows users to submit feedback and view all feedback entries. The project is built with a Node.js backend using Express and TypeScript and a React frontend using TypeScript. The backend manages the feedback entries, and the frontend provides a user interface for submitting and viewing feedback.
git clone https://github.com/exclusiveabhi/feedback-system.git
Navigate to the backend directory:
cd feedback-management-system/backend
Install dependencies:
npm install
Install CORS type definitions:
npm install @types/cors --save-dev
Start the server:
For development, you can use ts-node to run TypeScript directly:
npx ts-node src/index.ts
Alternatively, you can compile the TypeScript code to JavaScript and run it with Node.js:
npx tsc
node dist/index.js
Verify the server is running:
Open your browser or use a tool like Postman to navigate to http://localhost:3000/feedback. You should see an empty array (since there are no feedback entries initially).
Navigate to the frontend directory:
cd ../frontend
Install dependencies:
npm install
Start the React application:
npm start
Verify the application is running:
Open your browser and navigate to http://localhost:3001. You should see the feedback form and a list (which will be empty initially).
/feedbackGET/feedbackPOST{ name: string, feedback: string }Send a POST request to http://localhost:3000/feedback with the following body:
{
"name": "Abhishek",
"feedback": "Great !"
}