This is the front-end codebase for the SAPTHAGIRI NPS University Portal handling real-time views, dashboard UI, user authentication and interactivity logic.
We built this UI carefully using leading React tooling configurations for performance and developer comfort:
- Core Library: React (v19.2) & React-DOM
- Build Tooling: Vite (
@vitejs/plugin-react) yielding lightning quick dev startup times - Routing:
react-router-domfor complete single page application transitions without hard reloads - Styling Framework: Tailwind CSS with integration helpers
autoprefixer,clsx,postcss - Data Binding:
axiosfor fast backend backend requests - Icons & Display:
lucide-reactdynamically imported SVGs - Charting / Visuals:
rechartsresponsive D3 abstractions - Spreadsheets / Exports:
xlsxto handle exporting / table transformations - Code Standards:
eslintwith strict rules for code styling
Ensure Node.js & npm is installed. It is highly recommended to run the
<root>/snpsubkndbackend on port5000(or set matching env vars) prior to boot!
Install the exact package footprints needed:
# Open directory
cd /Users/laxman/snpsu/snpsufnd
# Grab all npm bundles
npm install
# Run the lightning vite dev server
npm run devYour React server should mount perfectly smoothly typically resting around http://localhost:5173/
To create a minified artifact payload of JS, HTML and CSS files ready for CDN drop or Nginx static hosting.
# Build an optimized artifact. Usually exported directly to /dist/ folder array
npm run build
# To locally check formatting on the production chunk output prior to deploy:
npm run preview