Quick Start

Get NEXUS Support System up and running in minutes with this quick start guide.

# Clone the repository
git clone https://github.com/AutoBotSolutions/NEXUS-Support-Ticket-System.git
cd nexus-support-system

# Install dependencies
npm install

# Configure environment
cp .env.example .env
# Edit .env with your settings

# Start the server
npm start

Installation

Detailed installation instructions for various platforms including Linux, macOS, and Windows.

  • Node.js 14.0.0 or higher
  • MongoDB 4.4 or higher
  • npm 6.0.0 or higher
  • Git (optional)

Configuration

Configure NEXUS by setting environment variables in the .env file.

PORT=3000
NODE_ENV=development
MONGODB_URI=mongodb://localhost:27017/nexus-support
JWT_SECRET=your_jwt_secret_here
GITHUB_WEBHOOK_SECRET=your_webhook_secret_here
GITHUB_TOKEN=your_github_token_here

API Reference

Complete API documentation with endpoints for tickets, users, and GitHub integration.

GET /api/tickets

Retrieve all tickets

POST /api/tickets

Create a new ticket

GET /api/tickets/:id

Retrieve a specific ticket

Security

NEXUS includes comprehensive security features including:

  • JWT authentication with 1-hour token expiration
  • Bcrypt password hashing with 10 salt rounds
  • Password complexity requirements
  • Rate limiting (100 requests/15min general, 5 login attempts/15min)
  • HTTPS enforcement in production
  • Content Security Policy (CSP)
  • MongoDB SSL/TLS support
  • Security audit logging
  • Input sanitization (NoSQL injection, XSS protection)

Deployment

Deploy NEXUS to any cloud platform with Docker support.

# Using Docker Compose
docker-compose up -d

# Using Docker
docker build -t nexus-support .
docker run -p 3000:3000 nexus-support