https://github.com/codecraft26/shvsa-backend
https://github.com/codecraft26/shvsa-backend
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codecraft26/shvsa-backend
- Owner: codecraft26
- Created: 2024-01-16T13:03:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-18T12:35:11.000Z (over 2 years ago)
- Last Synced: 2025-06-17T02:45:13.120Z (12 months ago)
- Language: JavaScript
- Size: 58.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Support Ticket Entry System
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.
## Getting Started
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
### Prerequisites
What things you need to install the software and how to install them:
- Node.js - [Download & Install Node.js](https://nodejs.org/en/download/) and the npm package manager.
### Installing
A step-by-step series of examples that tell you how to get a development environment running:
#### Step 1: Clone the Repo
```bash
git clone https://github.com/codecraft26/shvsa-backend/)https://github.com/codecraft26/shvsa-backend/
```
### Step 2: Navigate to the Project Directory
```bash
cd your-repository-name
```
### Step 3: Install Dependencies
```bash
npm install
```
### Step 4: Start the Server
```bash
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.
### Step 5: Open Your Web Browser
Navigate to http://localhost:8000 or whatever URL your app runs on.
## Endpoint
| 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|