{"id":25434525,"url":"https://github.com/mateus-dev-me/go-ama-api","last_synced_at":"2026-05-13T23:31:25.638Z","repository":{"id":253807172,"uuid":"841769515","full_name":"mateus-dev-me/go-ama-api","owner":"mateus-dev-me","description":"A question and answer API, similar to an AMA system.","archived":false,"fork":false,"pushed_at":"2024-08-29T20:15:00.000Z","size":120,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-12T05:26:11.813Z","etag":null,"topics":["go","postgresql","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/mateus-dev-me.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-08-13T02:28:39.000Z","updated_at":"2024-12-31T19:22:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"31fd716f-957a-4908-9d08-7e28c5ea5871","html_url":"https://github.com/mateus-dev-me/go-ama-api","commit_stats":null,"previous_names":["mateus-dev-me/ama-server-go","mateus-dev-me/go-ama-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mateus-dev-me/go-ama-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateus-dev-me%2Fgo-ama-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateus-dev-me%2Fgo-ama-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateus-dev-me%2Fgo-ama-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateus-dev-me%2Fgo-ama-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mateus-dev-me","download_url":"https://codeload.github.com/mateus-dev-me/go-ama-api/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mateus-dev-me%2Fgo-ama-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33004115,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"ssl_error","status_checked_at":"2026-05-13T13:14:51.610Z","response_time":115,"last_error":"SSL_read: 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":["go","postgresql","rest-api"],"created_at":"2025-02-17T06:17:39.848Z","updated_at":"2026-05-13T23:31:25.622Z","avatar_url":"https://github.com/mateus-dev-me.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **AMA API**\n\n![Go Version](https://img.shields.io/badge/go-v1.23.0-blue) ![License](https://img.shields.io/badge/license-MIT-green)\n\n\n\u003e A REST API developed in Golang for managing questions and answers, similar to an AMA (Ask Me Anything) system. The API allows users to ask questions and have those questions answered by administrators.\n\n## **Index**\n\n1. [Project Overview](#project-overview)\n2. [Project Structure](#project-structure)\n3. [Installation](#installation)\n4. [Usage](#usage)\n5. [API Documentation](#api-documentation)\n6. [Contribution](#contribution)\n\n## **Project Overview**\n\nThis project aims to provide a platform where users can ask questions and get answers. It is ideal for scenarios where audience interaction is valued, such as Q\u0026A sessions, discussion forums, or online communities.\n\n### **Main Features:**\n- User registration and authentication.\n- Creation, reading, updating and deletion (CRUD) of questions and answers.\n- Filtering and searching questions by tags and categories.\n- Moderation of questions and answers.\n  \n## **Project Structure**\n\n```bash\n.\n├── internal\n│   ├── api\n│   │   ├── spec\n│   │   │   └── swagger.json\n│   │   ├── utils.go\n│   │   └── api.go\n│   └── store\n│       └── pgstore\n│           ├── models.go\n│           ├── queries\n│           │   └── queries.sql\n│           ├── queries.sql.go\n│           ├── migrations\n│           │   ├── tern.conf\n│           │   ├── 002_create_messages_table.sql\n│           │   └── 001_create_rooms_table.sql\n│           ├── sqlc.yaml\n│           └── db.go\n├── docs\n│   ├── 01.jpg\n│   ├── 02.jpg\n│   └── 03.jpg\n├── cmd\n│   ├── tools\n│   │   └── terndotenv\n│   │       └── main.go\n│   └── app\n│       └── main.go\n├── gen.go\n├── go.mod\n├── go.sum\n├── Dockerfile.yml\n├── compose.yml\n├── .env.example.yml\n└── README.md\n```\n## **Installation**\n\n### **Prerequisites:**\n\n- **Go** (version 1.23.0 or higher)\n- **Docker** (for containerized setup)\n- **PostgreSQL** (or other supported database)\n\n### **Installation Steps:**\n\n1. Clone the repository:\n\n    ```bash\n    git clone https://github.com/mateus-dev-me/ama-api.git\n    cd ama-api\n    ```\n\n2. Set environment variables:\n\nCreate a `.env` file based on the `.env.example` file and set your credentials and database parameters.\n\n3. Install dependencies:\n\n    ```bash\n    go mod tidy\n    ```\n\n4. Perform database migrations:\n\n    ```bash\n    go generate\n    ```\n\n## **Usage**\n\n### **Start Server:**\n\n```bash\ngo run ./cmd/app/main.go\n```\nThe API will be available at `http://localhost:8080/api`\n\n## API Documentation\n\nThe documentation file is at `./internal/api/spec/swagger.json`\n\n![Tag Room](./docs/01.jpeg) \n![Tag Messages](./docs/02.jpeg) \n![Tag Replies](./docs/03.jpeg) \n\n## **Contribution**\n\n1. Fork the project.\n2. Create a branch for your feature (git checkout -b feature/nova-feature).\n3. Commit your changes (git commit -m 'Add new feature').\n4. Push your branch to the remote repository (git push origin feature/nova-feature).\n5. Open a Pull Request.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateus-dev-me%2Fgo-ama-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmateus-dev-me%2Fgo-ama-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmateus-dev-me%2Fgo-ama-api/lists"}