Giter Site home page Giter Site logo

issue-tracker's Introduction

Issue Tracker

Issue Tracker is an app built using Next.js, Prisma, React Hook Form, Zod, Recharts, Tailwind CSS, and NextAuth. It is a RESTful API that allows users to create, edit, delete, and get issues. It features server-side pagination, filtering, and data fetching, as well as a sortable columns table and charts to track different issues.

Visit website

👉 issue-tracker-kohl.vercel.app

Dashboard

dashboard

issuesPage

issuesPage

CreatePage

addIssuePage

Features

  • RESTful API for CRUD operations
  • Server-side pagination for efficient rendering of large data sets
  • Server-side filtering
  • Server-side data fetching for improved performance
  • A table with sortable columns.
  • Beautiful layout and design using Tailwind CSS
  • Bar charts to display the number of different status issues using recharts library

Used Libraries

This issue tracker app utilizes several libraries to enhance its functionality. Here are the main libraries used:

  • Next.js: A React framework for building server-side rendered and static websites.
  • Prisma: A database toolkit and ORM (Object-Relational Mapping) for Node.js that simplifies database access and management.
  • React Hook Form: A library for building forms in React with easy form validation and state management.
  • Zod: A TypeScript-first schema validation library used for validating form inputs and data.
  • Recahrts: A composable charting library built on React components.
  • NextAuth: A library for handling authentication and authorization in Next.js applications.
  • Tailwind CSS: A highly customizable, low-level CSS framework that provides utility classes for styling elements, enabling rapid custom UI development without predefined component classes.

These libraries have been chosen for their reliability, ease of use, and robust feature sets, and they play a crucial role in making this issue tracker app efficient and user-friendly.

Getting Started

  1. Clone the repository:
git clone https://github.com/mortezaisvand/issue-tracker.git
  1. Change into the project directory:
cd issue-tracker
  1. Install the dependencies:
npm install
  1. Set up the environment variables:

Create a .env file in the root directory and add the following variables:

API_URL=http://localhost:3000
DATABASE_URL=your-database-url
NEXT_URL=http://localhost:3000
NEXTAUTH_SECRET=a-random-string
GOOGLE_CLIENT_ID=insert-your-google-client-id-here
GOOGLE_CLIENT_SECRET=insert-your-google-client-secret-here

Please replace the placeholders (<insert-...-here>) with your actual values. For instance, replace with the URL of your database. Similarly, replace and with your Google Client ID and Secret respectively for session management. The should be replaced with a random string of your choice for NextAuth secret. Remember to keep these values confidential to protect your application’s security.

  1. Run the migrations:
npx prisma db push --name init
  1. Start the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
  1. Open your browser and navigate to http://localhost:3000 to access the blog app.

Usage

  1. Create a new issue:
  • Log In
  • Navigate to issues page.
  • Click on the "ADD ISSUE" button.
  • Fill in the required fields (title, content and status).
  • Click "CREATE" to create the issue.
  1. Edit an existing issue:
  • Log in
  • Click on the edit icon inside of the actions column.
  • Update the fields you want to change.
  • Click "UPDATE ISSUE" to update the issue.
  1. Delete a blog post:
  • Click on the delete icon.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.

Acknowledgements

issue-tracker's People

Contributors

mortezaisvand avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.