The goal of this coding assignment is to design and implement a Support Ticket Entry System using the MERN (MongoDB, Express.js, React.js, Node.js) stack.Create Ticket and Ticket assign to Agents in Roud robin.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install the software and how to install them:
- Node.js - Download & Install Node.js and the npm package manager.
A step-by-step series of examples that tell you how to get a development environment running:
git clone https://github.com/codecraft26/shvsa-backend/)https://github.com/codecraft26/shvsa-backend/
cd your-repository-name
npm install
npm start
This will start the local server. Depending on your project setup, you might have a different script for starting the server, such as node app.js or using nodemon.
Navigate to http://localhost:8000 or whatever URL your app runs on.
Endpoints | Method | Response |
---|---|---|
/api/support-agents | POST | Create Support Agent |
/api/support-agnets | GET | To Fetch tha Name of all Agents |
/api/support-tickets | POST | Create Support Ticket |
/api/support-tickets | GET | Get All Tickets |
/api/healthcheck | GET | To check Api is working or Not |