An open API service indexing awesome lists of open source software.

https://github.com/codecraft26/shvsa-backend


https://github.com/codecraft26/shvsa-backend

Last synced: 9 months ago
JSON representation

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|