Next.js-Ticketing-App
This project is a modern ticket management system built with Next.js and styled using Tailwind CSS. This application allows users to create, view, and manage support tickets, offering a responsive and user-friendly interface. It uses a JSON server to handle ticket data.
Features
- Create Tickets: Users can easily add new tickets with titles, descriptions, and priority levels.
- View Tickets: A list view of all tickets showing titles, a brief description, and priority.
- Ticket Details: Detailed view of each ticket's information.
- Priority Levels: Tickets can be marked as Low, Medium, or High priority.
- Responsive Design: Tailwind CSS ensures a sleek and adaptable design across devices.
- Real-Time Data Refresh: Automatically updates the ticket list when a new ticket is added.
Tech Stack
- Frontend: Next.js, React
- Styling: Tailwind CSS
- Backend: JSON Server
- Routing: Next.js navigation
Installation
Clone the Repository:
git clone https://github.com/pranav-js670/Next.js-Ticketing-App.git
cd nextjs-ticketing-app
Install Dependencies
Start the JSON Server:
Install JSON Server globally if not already installed:
npm install -g json-server
Start the JSON Server with:
json-server --watch db.json --port 4000
Run the Next.js Application:
npm run dev
The application will be accessible at bash http://localhost:3000
Usage
- Navigate to http://localhost:3000/tickets to view all tickets.
- Use the form to create new tickets.
- Click on a ticket to view its detailed information.
Future Enhancements
- Edit & Delete: Implement features to edit and delete tickets.
- Search & Filter: Add search and filtering capabilities.
- User Authentication: Incorporate user authentication for ticket management.
License
This project is licensed under the MIT License.