12 Commits

Author SHA1 Message Date
Tudor Stanciu
9ad0d9be93 feat: update version to 1.2.0 and refactor backend structure
- Changed main entry point from `index.js` to `server.js` in package.json.
- Created a new `app.ts` file to encapsulate Express app configuration.
- Removed old `index.ts` file and moved server logic to `server.ts`.
- Updated nodemon configurations to point to the new `server.ts`.
- Added new middleware for API key authentication with public endpoint support.
- Modified validators to accept any string for IPs, allowing handlers to determine validity.
- Added integration tests for batch lookup and health endpoints.
- Implemented unit tests for error handling and validation middleware.
- Updated `tsup` and `vitest` configurations to reflect new entry points and testing setup.
2025-10-13 01:14:37 +03:00
Tudor Stanciu
dbb821fe92 Merged PR 110: feat: Implement Node BitipClient for GeoIP service integration
feat: Implement BitipClient for GeoIP service integration

- Add BitipClient class for interacting with the Bitip GeoIP Service.
- Implement methods for health check, version info, IP location lookup, detailed IP location, and batch IP lookup.
- Introduce validation for IP addresses with IpValidator utility.
- Normalize URLs with UrlNormalizer utility.
- Create constants for API keys and routes.
- Add TypeScript types for client options, responses, and errors.
- Set up ESLint and Prettier configurations for code quality.
- Add unit tests for BitipClient and IpValidator.
- Configure TypeScript and build settings with tsup.
- Set up Vitest for testing framework and coverage reporting.
2025-10-12 11:54:44 +00:00
Tudor Stanciu
c9bda7769c feat: update README and Overview to include .NET Client Library details; add release notes for version 1.1.1 2025-10-09 01:18:25 +03:00
Tudor Stanciu
045cd12fd5 chore: update README.md to include content directory in project structure 2025-10-06 01:11:34 +03:00
Tudor Stanciu
b25c8d8f91 feat: enhance GeoIP data by integrating MaxMind GeoLite2-ASN database, update API responses and documentation 2025-10-06 00:42:27 +03:00
Tudor Stanciu
dca221384c chore: bump version to 1.0.1 for backend and frontend
fix: update import statements to remove file extensions for consistency
fix: improve path handling in pathCombine utility function
fix: ensure trailing slash in Vite base path configuration
refactor: update build script to use tsup for backend
refactor: clean up package.json dependencies and devDependencies
2025-10-05 03:55:22 +03:00
Tudor Stanciu
c546a3c1a0 refactor: add logging configuration with adjustable log levels and update related documentation 2025-10-05 00:20:20 +03:00
Tudor Stanciu
1d6eb6e5a6 refactor: add ENABLE_HTTPS_SECURITY environment variable and update security middleware to toggle headers based on its value 2025-10-04 03:24:15 +03:00
Tudor Stanciu
88f15392e7 refactor: update MaxMind database path from /usr/share/GeoIP to /usr/share/maxmind in configuration files and documentation 2025-10-04 01:00:13 +03:00
Tudor Stanciu
900a6e05a4 refactor: update default port from 3000 to 5172 across configuration files and documentation 2025-10-04 00:27:05 +03:00
Tudor Stanciu
345ed9c68c Merged PR 109: Bitip project initialization - GeoIP lookup service with frontend interface
- feat: Implement GeoIP lookup service with frontend interface
- feat: Add dotenv dependency and configure environment variables; update rate limiter response handling
- refactor: Remove development Dockerfile and docker-compose for streamlined setup; update GeoIP service to use new MaxMind types
- chore: update dependencies and ESLint configuration
- feat: Add documentation for breaking changes and package updates after major version upgrades
- feat: Add environment configuration files and update module imports for ES module support
- feat: Update nodemon configuration and add register script for ES module support
- feat: Add .gitattributes file to enforce LF line endings and define text/binary file types
- feat: Implement graceful shutdown with timeout and update nodemon configuration
- feat: Update environment configuration and add detailed configuration guide
- feat: add frontend origin validation and update rate limits
- feat: add versioning arguments and detailed OCI image labels to Dockerfile
- feat: add version and release notes endpoints, update frontend to display release notes
- feat: Refactor App component to use React Router for navigation
- feat: Update navigation styles and remove unused type definitions for react-router-dom
- feat: Generate runtime configuration for frontend and serve env.js
- feat: Update dependencies, enhance ESLint configuration, and improve Vite setup
- refactor: Remove ensureTrailingSlash function and simplify basePath assignment in Vite config
2025-10-02 22:59:22 +00:00
Tudor Stanciu
1814b6d412 Added README.md 2025-07-23 15:59:28 +00:00