Connecting students with opportunities across Tech and Non-Tech domains through an integrated digital ecosystem
| Resource | Link |
|---|---|
| π Live Website | https://nexa-sphere-sigma.vercel.app/ |
| π Admin Dashboard | https://admin-nexasphere.vercel.app |
| π§ Contact | nexasphere@glbajajgroup.org |
| πΌ Institution | GL Bajaj Group of Institutions, Mathura |
Modern, scalable architecture built with industry-leading technologies:
|
β‘ React 18 + Vite 5 π¨ Vanilla CSS with Advanced Motion π¦ Vercel Hosting |
β Java 17 + Spring Boot 3 π Python 3.11 + FastAPI π Railway / Render / Fly.io |
|
ποΈ PostgreSQL (Production) πΎ H2 (Development) π Supabase Integration |
π Google Sheets Integration π JWT Authentication π Real-time Updates |
nexasphere/
β
βββ π src/ β Main Frontend Application
β βββ pages/ β Page Components
β β βββ home/
β β βββ about/
β β βββ activities/
β β βββ events/
β β βββ team/
β β βββ contact/
β β βββ membership/
β β βββ recruitment/
β β βββ admin/
β βββ shared/ β Reusable Components & Utilities
β βββ services/ β API Client Layer
β βββ styles/ β Global Stylesheets
β βββ data/ β Static Content & Configuration
β βββ App.jsx, main.jsx
β
βββ π admin-dashboard/ β Standalone Admin Application
β βββ src/
β β βββ pages/ β Admin Pages
β β βββ components/ β Admin Components
β β βββ services/ β API Integration
β β βββ hooks/ β Custom React Hooks
β βββ package.json
β
βββ π server-java/ β REST API Backend
β βββ src/main/java/org/nexasphere/
β β βββ controller/ β REST Endpoints
β β βββ service/ β Business Logic
β β βββ model/ β JPA Entities
β β βββ repository/ β Data Access Layer
β β βββ config/ β Spring Configuration
β βββ pom.xml
β βββ README.md
β
βββ π server-python/ β Forms Microservice
β βββ routers/ β API Routes
β βββ services/ β Business Logic
β βββ models/ β Data Models
β βββ requirements.txt
β βββ README.md
β
βββ Configuration Files
β βββ package.json
β βββ vite.config.js
β βββ vercel.json
β βββ netlify.toml
β βββ index.html
β
βββ README.md β This File
Make sure you have these installed on your system:
| Tool | Version | Purpose |
|---|---|---|
| Node.js | 20+ | Frontend development & package management |
| Java JDK | 17+ | Java backend compilation & execution |
| Maven | 3.8+ | Java project build tool |
| Python | 3.11+ | Forms service runtime |
| PostgreSQL | Latest | Database (optional for development) |
Clone and Install:
cd nexasphere
npm install
npm run devπ Environment Variables (.env.local):
VITE_API_BASE=http://localhost:8080Build and Run:
cd server-java
mvn clean install
mvn spring-boot:runπ Environment Variables (application.properties):
# Admin Credentials
ADMIN_EMAIL=nexasphere@glbajajgroup.org
ADMIN_PASSWORD=Admin@123
# CORS Configuration
CORS_ORIGIN=http://localhost:5173,https://nexasphere-glbajaj.vercel.app
# Database (Development - H2)
DB_URL=jdbc:h2:mem:nexaspheredb
DB_DRIVER=org.h2.Driver
DB_USER=sa
DB_PASS=For PostgreSQL (Production):
DB_URL=jdbc:postgresql://localhost:5432/nexasphere
DB_DRIVER=org.postgresql.Driver
DB_USER=postgres
DB_PASS=yourpasswordSetup Virtual Environment & Run:
cd server-python
# Create virtual environment
python -m venv venv
# Activate (choose based on your OS)
source venv/bin/activate # macOS/Linux
# OR
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
# Run development server
uvicorn main:app --reload --port 8000π Interactive Docs: http://localhost:8000/docs
π Environment Variables (.env):
# Google Cloud Authentication
GOOGLE_PROJECT_ID=your-project-id
GOOGLE_SERVICE_ACCOUNT_EMAIL=your-sa@project.iam.gserviceaccount.com
GOOGLE_PRIVATE_KEY="-----BEGIN PRIVATE KEY-----\n...\n-----END PRIVATE KEY-----\n"
GOOGLE_SHEET_ID=your-sheet-id
# Supabase Configuration
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
# CORS & Server
CORS_ORIGIN=http://localhost:5173,https://nexasphere-glbajaj.vercel.appInstall and Run:
cd admin-dashboard
npm install
npm run devπ Environment Variables (.env.local):
VITE_API_BASE=http://localhost:8080| Method | Endpoint | Description |
|---|---|---|
GET |
/api/content/events |
Fetch all community events |
GET |
/api/content/activity-events/{key} |
Get events by activity type |
GET |
/api/content/core-team |
List all core team members |
POST |
/api/forms/membership |
Submit membership application |
POST |
/api/forms/recruitment |
Submit recruitment application |
POST |
/api/core-team/apply |
Submit core team application |
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/admin/events |
Create new event |
PUT |
/api/admin/events/{id} |
Update existing event |
DELETE |
/api/admin/events/{id} |
Delete event |
POST |
/api/admin/core-team |
Create core team member |
PUT |
/api/admin/core-team/{id} |
Update core team member |
DELETE |
/api/admin/core-team/{id} |
Delete core team member |
|
|
|
|
π Admin Credentials:
- Email: nexasphere@glbajajgroup.org
- Password: Admin@123
- Connect Repository: Link GitHub repo to Vercel
- Configure Build:
- Build Command:
npm run build - Output Directory:
dist
- Build Command:
- Set Environment Variables:
VITE_API_BASE=https://your-api-url.railway.app
- Deploy and monitor
π Live URL: https://nexasphere-glbajaj.vercel.app
- Create Separate Vercel Project from
admin-dashboard/folder - Configure (same as frontend):
- Build:
npm run build - Output:
dist - Env:
VITE_API_BASE=https://your-api-url.railway.app
- Build:
π Live URL: https://admin-nexasphere.vercel.app
Installation:
npm i -g @railway/cli
railway login
cd server-java
railway init
railway upπ Production Environment Variables:
ADMIN_EMAIL=nexasphere@glbajajgroup.org
ADMIN_PASSWORD=Admin@123
CORS_ORIGIN=https://nexasphere-glbajaj.vercel.app,https://admin-nexasphere.vercel.app
DB_URL=jdbc:postgresql://[host]:5432/railway
DB_DRIVER=org.postgresql.Driver
DB_USER=postgres
DB_PASS=[from-dashboard]
Railway Deployment:
cd server-python
railway init
railway upEnvironment Variables: (Same as local .env)
Auto-configured on startup:
- β Tables created automatically
- β Seed data loaded
- β No manual setup required
Create Database:
CREATE DATABASE nexasphere;Setup:
- Spring Boot creates tables via JPA
- Seed data loads from
data.sql - Ready for production use
Supabase Tables:
CREATE TABLE membership_forms (
id SERIAL PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(255) NOT NULL,
whatsapp VARCHAR(10) NOT NULL,
year VARCHAR(20) NOT NULL,
branch VARCHAR(100) NOT NULL,
section VARCHAR(1) NOT NULL,
reason TEXT,
created_at TIMESTAMP DEFAULT NOW()
);
CREATE TABLE recruitment_forms (
id SERIAL PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(255) NOT NULL,
whatsapp VARCHAR(10) NOT NULL,
year VARCHAR(20) NOT NULL,
branch VARCHAR(100) NOT NULL,
section VARCHAR(1) NOT NULL,
reason TEXT,
created_at TIMESTAMP DEFAULT NOW()
);
CREATE TABLE core_team_applications (
id SERIAL PRIMARY KEY,
name VARCHAR(100) NOT NULL,
email VARCHAR(255) NOT NULL,
whatsapp VARCHAR(10) NOT NULL,
year VARCHAR(20) NOT NULL,
branch VARCHAR(100) NOT NULL,
section VARCHAR(1) NOT NULL,
reason TEXT,
created_at TIMESTAMP DEFAULT NOW()
);npm run test
npm run test:coveragemvn test
mvn verifypytest
pytest --covFor detailed information about specific components, visit:
- server-java/README.md β Java backend build, setup, and deployment
- server-python/README.md β Python backend setup and integrations
- admin-dashboard/README.md β Admin dashboard installation
This is an internal project for the NexaSphere core team.
- Clone the repository
- Create feature branch:
git checkout -b feature/your-feature - Make changes with quality standards
- Test thoroughly before submission
- Submit pull request for review
- β No
console.logstatements - β Functions under 40 lines
- β Consistent naming conventions
- β Zero unused imports
- β Meaningful commit messages
- β Comprehensive documentation
- Complete API documentation
- Environment variable guides
- Setup instructions for all services
- Deployment procedures
- Database configuration
- Frontend hosting (Vercel)
- API backend available
- Database configured
- Admin dashboard deployed
- CORS properly configured
- Architecture diagrams
- Video tutorials
- API Swagger documentation
- Performance monitoring
- Security audit logs
Internal Project β GL Bajaj NexaSphere Core Team
All rights reserved. Not for external distribution.
| Resource | Details |
|---|---|
| π§ Email | nexasphere@glbajajgroup.org |
| π’ Institution | GL Bajaj Group of Institutions, Mathura |
| π Website | https://nexa-sphere-sigma.vercel.app |
| π¨βπΌ Admin Panel | https://admin-nexasphere.vercel.app |
