{"id":18187830,"url":"https://github.com/0bvim/go_rest_api","last_synced_at":"2026-02-17T18:03:16.935Z","repository":{"id":255975721,"uuid":"854014430","full_name":"0bvim/go_rest_api","owner":"0bvim","description":"Golang restAPI using docker and postgres","archived":false,"fork":false,"pushed_at":"2024-09-18T04:12:28.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-24T10:18:51.831Z","etag":null,"topics":[],"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/0bvim.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-09-08T06:59:25.000Z","updated_at":"2024-09-18T04:12:31.000Z","dependencies_parsed_at":"2024-09-08T08:36:24.671Z","dependency_job_id":"19f680dd-a9ad-4241-ba52-2d376e0eb7fc","html_url":"https://github.com/0bvim/go_rest_api","commit_stats":null,"previous_names":["0bvim/go_rest_api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0bvim/go_rest_api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fgo_rest_api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fgo_rest_api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fgo_rest_api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fgo_rest_api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0bvim","download_url":"https://codeload.github.com/0bvim/go_rest_api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0bvim%2Fgo_rest_api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29552250,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T17:56:56.811Z","status":"ssl_error","status_checked_at":"2026-02-17T17:56:55.544Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-03T02:03:28.191Z","updated_at":"2026-02-17T18:03:16.919Z","avatar_url":"https://github.com/0bvim.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# RESTful API Project\n\u003e This readme is just a snippet that I've created and I will finish it latter.\n\nThis project implements a RESTful API using Go (Golang) as the backend language, PostgreSQL as the database, and Docker for containerization.\n\n## Table of Contents\n\n1. [Project Overview](#project-overview)\n2. [Technology Stack](#technology-stack)\n3. [Getting Started](#getting-started)\n4. [API Endpoints](#api-endpoints)\n5. [Database Schema](#database-schema)\n6. [Docker Configuration](#docker-configuration)\n7. [Code Structure](#code-structure)\n8. [Testing](#testing)\n9. [Deployment](#deployment)\n10. [Contributing](#contributing)\n11. [License](#license)\n\n## Project Overview\n\nThis RESTful API project provides a scalable and maintainable backend service. It uses Go for its performance and concurrency capabilities, PostgreSQL for robust database operations, and Docker for easy deployment and containerization.\n\n## Technology Stack\n\n- Backend Language: Golang\n- Database: PostgreSQL\n- Containerization: Docker\n\n## Getting Started\n\nTo run the project locally:\n\n1. Clone the repository:\n\n2. Build the Docker image:\n\n3. Run the Docker container:\n\n\nYour API should now be accessible at http://localhost:8080.\n\n## API Endpoints\n\nThe API currently supports the following endpoints:\n\n- GET /users: Retrieve all users\n- POST /users: Create a new user\n- GET /users/{id}: Get a specific user by ID\n- PUT /users/{id}: Update a user\n- DELETE /users/{id}: Delete a user\n\nDetailed documentation for each endpoint can be found in the `api` package.\n\n## Database Schema\n\nThe database schema is defined in the `migrations` folder. It includes tables for users and potentially other entities as the project grows.\n\n## Docker Configuration\n\nDocker configuration files are located in the `docker` folder. They define the environment for both development and production setups.\n\n## Code Structure\n\nThe project follows a clean architecture pattern:\n\n- `cmd`: Contains the main application entry point\n- `internal`: Houses internal packages and logic\n  - `app`: Application-specific business logic\n  - `domain`: Domain models and interfaces\n  - `infrastructure`: External dependencies (database, etc.)\n  - `interfaces`: API handlers and middleware\n- `pkg`: Reusable packages across multiple projects\n- `tests`: Unit tests and integration tests\n\n## Testing\n\nUnit tests are implemented using Go's built-in testing package. Integration tests are also included to verify the functionality of the API endpoints.\n\nRun tests with:\n\n\n## Deployment\n\nThe project is designed to be easily deployable using Docker. For production deployment, consider using orchestration tools like Kubernetes.\n\n## Contributing\n\nContributions are welcome! Please submit pull requests with clear explanations of changes made.\n\n## License\n\nThis project is licensed under the MIT License. See LICENSE.md for details.\n\n\n \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fgo_rest_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0bvim%2Fgo_rest_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0bvim%2Fgo_rest_api/lists"}