Skip to content

Commit d576e9f

Browse files
author
AutoBotSolutions
committed
Initial commit: NEXUS Support System with security enhancements and sci-fi themed website
0 parents  commit d576e9f

58 files changed

Lines changed: 15464 additions & 0 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.dockerignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
node_modules
2+
npm-debug.log
3+
.env
4+
.env.backup
5+
.git
6+
.gitignore
7+
README.md
8+
docs
9+
Dockerfile
10+
docker-compose.yml
11+
install.sh
12+
install.ps1
13+
install.js

.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Server Configuration
2+
# NEXUS Support System Configuration
3+
PORT=3000
4+
NODE_ENV=development
5+
6+
# CORS Configuration
7+
CORS_ORIGIN=*
8+
9+
# MongoDB Configuration
10+
MONGODB_URI=mongodb://localhost:27017/nexus-support
11+
12+
# MongoDB SSL/TLS Configuration (Optional - for production)
13+
MONGODB_SSL=false
14+
MONGODB_TLS=false
15+
MONGODB_TLS_ALLOW_INVALID_CERTS=false
16+
MONGODB_TLS_CA_FILE=
17+
MONGODB_TLS_CERT_KEY_FILE=
18+
MONGODB_TLS_CERT_KEY_PASSWORD=
19+
20+
# GitHub Configuration
21+
GITHUB_WEBHOOK_SECRET=your_webhook_secret_here
22+
GITHUB_TOKEN=your_github_personal_access_token_here
23+
GITHUB_REPO_OWNER=your_github_username
24+
GITHUB_REPO_NAME=your_repository_name
25+
26+
# JWT Secret
27+
JWT_SECRET=your_jwt_secret_here_change_this_in_production
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy Website to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
27+
- name: Setup Pages
28+
uses: actions/configure-pages@v4
29+
30+
- name: Upload artifact
31+
uses: actions/upload-pages-artifact@v3
32+
with:
33+
path: './website'
34+
35+
- name: Deploy to GitHub Pages
36+
id: deployment
37+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules/
2+
.env
3+
*.log
4+
logs/
5+
.DS_Store
6+
coverage/
7+
dist/
8+
build/
9+
.env.local
10+
.env.production

Dockerfile

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
FROM node:18-alpine
2+
3+
WORKDIR /app
4+
5+
# Copy package files
6+
COPY package*.json ./
7+
8+
# Install dependencies
9+
RUN npm ci --only=production
10+
11+
# Copy application files
12+
COPY . .
13+
14+
# Expose port
15+
EXPOSE 3000
16+
17+
# Start application
18+
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)