{"id":19356277,"url":"https://github.com/subliker/lost-n-found-service","last_synced_at":"2026-01-21T22:33:36.726Z","repository":{"id":260168903,"uuid":"876983022","full_name":"subliker/lost-n-found-service","owner":"subliker","description":"LostNFound is a web service designed to help people find lost items.","archived":false,"fork":false,"pushed_at":"2024-11-06T22:39:17.000Z","size":126,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-13T06:30:02.814Z","etag":null,"topics":["apache","docker","docker-compose","golang","minio","mysql","rest-api"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/subliker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-10-22T22:10:23.000Z","updated_at":"2024-11-06T22:39:20.000Z","dependencies_parsed_at":"2025-01-06T17:45:37.539Z","dependency_job_id":"2f0af85b-8f31-4eee-99bd-05fcc9df9968","html_url":"https://github.com/subliker/lost-n-found-service","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.10526315789473684","last_synced_commit":"016ca1dabf716738bbb0c891897573c7bcb333ce"},"previous_names":["subliker/lost-n-found-service"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/subliker/lost-n-found-service","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subliker%2Flost-n-found-service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subliker%2Flost-n-found-service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subliker%2Flost-n-found-service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subliker%2Flost-n-found-service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/subliker","download_url":"https://codeload.github.com/subliker/lost-n-found-service/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/subliker%2Flost-n-found-service/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28645550,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-21T21:29:11.980Z","status":"ssl_error","status_checked_at":"2026-01-21T21:24:31.872Z","response_time":86,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apache","docker","docker-compose","golang","minio","mysql","rest-api"],"created_at":"2024-11-10T07:03:45.836Z","updated_at":"2026-01-21T22:33:36.708Z","avatar_url":"https://github.com/subliker.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LostNFound\nLostNFound is a web service designed to help people find lost items. Users can report found items, allowing the original owners to retrieve information about their lost belongings.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies](#technologies)\n- [Getting Started](#getting-started)\n- [Usage](#usage)\n- [Screenshots](#screenshots)\n\n## Features\n\n- Add  lost items information and photo\n- Simple and user-friendly interface for interaction\n\n## Technologies\n\nThis project is built using the following technologies:\n\n- **Backend**: Go (Golang) with the following libraries:\n  - `gorilla/mux` for routing\n  - `viper` for configuration management\n  - `zap` for logging\n  - `gorm` for ORM\n- **Database**: MySQL\n- **Object Storage**: MinIO\n- **Containerization**: Docker Compose\n- **Build Tool**: Makefile\n\n## Getting Started\n\nTo get a local copy up and running, follow these steps:\n\n1. **Clone the repository**:\n\n   ```bash\n   git clone https://github.com/subliker/lost-n-found-service\n   cd lost-n-found-service\n   ```\n\n2. **Set up your environment**:\n\n   Create a `.env` file in the root directory and define the necessary environment variables. Refer to `.env.example` for a sample configuration.\n\n   Additionally, you can configure the server using `config.toml` located in the `server/` directory.  A sample configuration is provided in `config_example.toml`.\n\n3. **Build and run the application using Docker Compose**:\n\n    ```bash\n    docker-compose up --build \n    ```\n\n4. **Alternatively, use the Makefile**:\n\n   The Makefile provides convenient commands for managing the project. You can run:\n\n    ```bash\n    make build                    # to build the application \n    make up                       # to build and start the application \n    make restart                  # restart the application \n    make down                     # to stop and remove the containers \n    make rebuild c=CONTAINER_NAME # to rebuild and restart container with CONTAINER_NAME\n    make clean-logs               # to clean all logs\n    make clean-all                # to clean all application data\n    make set-example              # set example env\n    make start-example            # to run the application with example envs\n    ```\n\n5. **Alternatively, use the Taskfile**:\n   The Taskfile provides convenient commands for managing the project. You can run:\n   \n    ```bash\n    task build                    # to build the application\n    task up                       # to build and start the application\n    task up -- CONTAINER_NAME     # to build and start container with CONTAINER_NAME\n    task restart                  # restart the application\n    task down                     # to stop and remove the containers\n    task rebuild -- CONTAINER_NAME # to rebuild and restart container with CONTAINER_NAME\n    task clean-logs               # to clean all logs\n    task clean-all                # to clean all application data\n    task set-example              # set example env\n    task start-example            # to run the application with example envs\n    ```\n\n## Usage\n\nOnce the application is running, you can access the web interface at `http://localhost:80`.\n\n1. **Adding a Lost Item**: Add a lost item by clicking the corresponding button on the main page.\n2. **Searching for a Lost Item**: In the presented list of lost items, try to find yours.\n\n## Logging\n\nServer logs are stored in the `server/logs` directory. You can monitor this directory to keep track of application activities and debug issues. \n\n### Example Logs\n\nHere are some examples of log entries you might see:\n```log\n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.107+0800\",\"msg\":\"Item store connected\"}\n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.149+0800\",\"msg\":\"Item store migrated\"} \n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.159+0800\",\"msg\":\"Server routes was initialized\"} \n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.159+0800\",\"msg\":\"Server instance created\"} \n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.159+0800\",\"msg\":\"App instance created\"} \n{\"level\":\"info\",\"ts\":\"2024-11-01T06:38:55.159+0800\",\"msg\":\"App running...\"}\n```\n\n## Screenshots\n\n![Screenshot 1: Home Page](https://github.com/user-attachments/assets/7569f5e4-9f5b-4444-b121-6a68763bf0d3)\n\n![Screenshot 2: Report Found Item](https://github.com/user-attachments/assets/8f93fd88-17c6-4f4d-8ec4-070d3340cbed)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubliker%2Flost-n-found-service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubliker%2Flost-n-found-service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubliker%2Flost-n-found-service/lists"}