This is the frontend for the IPDR Web Portal, designed to provide a user-friendly interface for monitoring NAT logs. The application is built using React.js and communicates with the IPDR backend service.
- User authentication (SSO support: OAuth 2.0, LDAP, SAML)
- Dashboard with log search and filtering capabilities
- Multi-tenancy support
- Secure access for law enforcement agencies
Make sure you have the following installed:
- Node.js (>= 16.x recommended)
- npm (>= 8.x recommended)
- Git
Follow these steps to set up the IPDR frontend:
cd /var/www
git clone https://github.com/imrankhan-coder/ipdr-frontend.git
cd ipdr-frontend
npm install
Create a .env
file in the project root and configure it as needed:
REACT_APP_BACKEND_URL=http://your-backend-ip:port
npm run dev
npm run build
Set up Nginx to serve the frontend:
- Copy the build files to your web server directory:
cp -r build /var/www/html/ipdr-frontend
- Configure Nginx:
server { listen 80; server_name your-domain.com; root /var/www/html/ipdr-frontend; index index.html; location / { try_files $uri /index.html; } }
- Restart Nginx:
sudo systemctl restart nginx
If you want to contribute, please fork the repository and submit a pull request.
This project is licensed under Z COM Networks Private Limited.