Support Ticket System
A full-stack Support Ticket System built with React (TypeScript) and Spring Boot. When a user raises a ticket, it is stored in the database and automatically created as a GitHub Issue.
==================================================
SETUP INSTRUCTIONS
- Clone the Repository
git clone https://github.com//Resolve-Now.git cd Support-Ticket-System
==================================================
GITHUB INTEGRATION SETUP (IMPORTANT)
This project creates GitHub Issues automatically when users raise tickets. You must configure GitHub credentials before running the backend.
==================================================
STEP 1: Create .env File
Create a file inside the backend folder:
backend/.env
Add the following content:
GITHUB_TOKEN=YOUR_GITHUB_PERSONAL_ACCESS_TOKEN GITHUB_OWNER=YOUR_GITHUB_USERNAME_OR_ORG GITHUB_REPO=YOUR_REPOSITORY_NAME
==================================================
STEP 2: Generate GitHub Personal Access Token (PAT)
-
Open: https://github.com/settings/apps then click on Personal Access Tokens
-
Click “Generate new token” -> Fine grained Tokens
-
Name it: Resolve Now
-
Select permissions:
- repo(read and write), issues(read and write) metadata(read)
- workflow (optional)
- project (optional)
-
Generate token and copy it.
DO NOT SHARE THIS TOKEN OR COMMIT IT TO GITHUB.
==================================================
STEP 3: Get GitHub Username (OWNER)
Your GitHub username is in your profile URL:
Example: GITHUB_OWNER=KirthikaKumar-K
==================================================
STEP 4: Get Repository Name (REPO)
Your repository URL:
Example: GITHUB_REPO=Resolve-Now
==================================================
RUN BACKEND
cd backend mvn spring-boot:run
Backend runs on: http://localhost:8080
==================================================
RUN FRONTEND
cd src npm install npm run dev
Frontend runs on: http://localhost:5173
==================================================
SECURITY NOTES
- Never commit backend/.env to GitHub
- Add this to .gitignore:
backend/.env
- Revoke leaked PAT tokens immediately.
==================================================
To run Java in Visual Studio Code
You need to add this Extension :
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Extension Pack for Java"
- Click Install