{"id":27941940,"url":"https://github.com/spacetesla/juridex","last_synced_at":"2025-05-07T11:24:08.280Z","repository":{"id":246940941,"uuid":"822618094","full_name":"SpaceTesla/juridex","owner":"SpaceTesla","description":"A Criminal Database Management System designed to manage and visualize data related to criminal activities","archived":false,"fork":false,"pushed_at":"2025-04-16T22:37:47.000Z","size":9428,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-17T11:24:48.761Z","etag":null,"topics":["criminal-database-management","dbms","expressjs","mysql-database","nodejs","openstreetmap-api","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpaceTesla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-01T13:32:47.000Z","updated_at":"2025-04-16T22:37:51.000Z","dependencies_parsed_at":"2024-08-03T10:16:56.378Z","dependency_job_id":null,"html_url":"https://github.com/SpaceTesla/juridex","commit_stats":null,"previous_names":["spacetesla/juridex"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTesla%2Fjuridex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTesla%2Fjuridex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTesla%2Fjuridex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpaceTesla%2Fjuridex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpaceTesla","download_url":"https://codeload.github.com/SpaceTesla/juridex/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252866789,"owners_count":21816544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["criminal-database-management","dbms","expressjs","mysql-database","nodejs","openstreetmap-api","reactjs"],"created_at":"2025-05-07T11:24:07.564Z","updated_at":"2025-05-07T11:24:08.266Z","avatar_url":"https://github.com/SpaceTesla.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JuRIDEX - Judicial Records Information and Data Exchange\n\n## Overview\n\n**JURIDEX** is a Criminal Database Management System designed to manage and visualize data related to criminal activities. The system uses a combination of MySQL, Express, React, and Node.js to provide a robust solution for tracking and managing criminal records. It also integrates maps for visualizing crime locations.\n\n## Technologies Used\n\n- **Frontend**: React\n- **Backend**: Node.js, Express\n- **Database**: MySQL\n- **Maps Integration**: [OpenStreetMap API](https://www.openstreetmap.org/about/api/)\n- **Authentication**: Firebase\n\n## Features\n\n### Backend\n\n- **Database**: Utilizes MySQL to store information about crimes, individuals, criminal records, police officers, court cases, and witnesses.\n- **API Routes**: Provides RESTful endpoints for CRUD operations on crime records, individuals, police officers, court cases, and witnesses.\n- **Authentication**: Secured endpoints using Firebase for user authentication.\n\n### Frontend\n\n- **Dashboard**: Provides an overview of the system with key statistics and data visualization.\n- **Login \u0026 Signup Pages**: Allows users to authenticate and register using Firebase.\n- **Crime Visualization**: Integrated with Google Maps API to display crime locations using latitude and longitude.\n\n### Maps Integration\n\n- **Crime Location Visualization**: Displays the geographical locations of crimes on an interactive map, allowing users to view and analyze crime data visually.\n\n## Installation\n\n### Prerequisites\n\n- Node.js (\u003e=14.x)\n- MySQL (\u003e=8.x)\n- Firebase account\n\n### Backend Setup\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/SpaceTesla/juridex.git\n   ```\n   \n2. Navigate to the server directory:\n   ```bash\n   cd JURIDEX/server\n   ```\n   \n3. Install dependencies:\n   ```bash\n   npm install\n   ```\n   \n4. Create and configure the .env file with your database credentials and Firebase settings.\n   \n   \n\n   ```env\n   # Use this template and save it in server folder\n\n   # SERVER\n   DB_HOST=localhost\n   DB_USER=root\n   DB_PASSWORD=\u003cyour sql password\u003e\n   DB_NAME=JuRIDEX\n\n   # CLIENT\n   PORT=5000\n   REACT_APP_API_URL=http://localhost:5000\n\n   #Generated by firebase\n   FIREBASE_API_KEY=\u003center your text\u003e\n   FIREBASE_AUTH_DOMAIN=\u003center your link\u003e\n   FIREBASE_PROJECT_ID=\u003center your text\u003e\n   FIREBASE_STORAGE_BUCKET=\u003center your text\u003e\n   FIREBASE_MESSAGING_SENDER_ID=\u003center your text\u003e\n   FIREBASE_APP_ID=\u003center your text\u003e\n   FIREBASE_MEASUREMENT_ID=\u003center your text\u003e\n   ```\n\n5. Start the server:\n   ```bash\n   npm start\n   ```\n\n### Frontend Setup\n\n1. Navigate to the client directory:\n   ```bash\n   cd JURIDEX/client\n   ```\n\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n\n3. Start the react app\n   ```bash\n   npm start\n   ```\n\n## API Documentation\nYou can read the API documentation [here](https://github.com/SpaceTesla/juridex/blob/main/server/readme.md) or in the /`server` folder.\n\n## Contributing\nTo contribute to the project, please fork the repository and submit a pull request. Ensure that your changes are well-tested and documented.\n\n## License\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n## Contact\nFor any questions or further information, please contact [@SpaceTesla](https://github.com/SpaceTesla)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacetesla%2Fjuridex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspacetesla%2Fjuridex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspacetesla%2Fjuridex/lists"}