{"id":44624199,"url":"https://github.com/erismardev/gopportunities","last_synced_at":"2026-04-29T21:36:45.212Z","repository":{"id":181119794,"uuid":"665344625","full_name":"erismardev/gopportunities","owner":"erismardev","description":"A job opportunities API built using Golang. The API uses Go-Gin as a router, SQLite as a database, and GoORM for database communication. It also includes Swagger for documentation and testing, and a well-organized package structure.","archived":false,"fork":false,"pushed_at":"2023-08-08T14:07:44.000Z","size":1181,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-15T07:33:04.418Z","etag":null,"topics":["api","gin","go","golang","goorm","rest","sqlite","swagger"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erismardev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2023-07-12T02:20:26.000Z","updated_at":"2023-07-14T14:59:48.000Z","dependencies_parsed_at":"2024-06-21T14:36:18.968Z","dependency_job_id":null,"html_url":"https://github.com/erismardev/gopportunities","commit_stats":null,"previous_names":["erismaroliveira/gopportunities","eriscript/gopportunities","erismardev/gopportunities"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/erismardev/gopportunities","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erismardev%2Fgopportunities","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erismardev%2Fgopportunities/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erismardev%2Fgopportunities/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erismardev%2Fgopportunities/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erismardev","download_url":"https://codeload.github.com/erismardev/gopportunities/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erismardev%2Fgopportunities/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29447768,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-14T14:10:32.461Z","status":"ssl_error","status_checked_at":"2026-02-14T14:09:49.945Z","response_time":53,"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":["api","gin","go","golang","goorm","rest","sqlite","swagger"],"created_at":"2026-02-14T15:00:31.077Z","updated_at":"2026-02-14T15:01:11.833Z","avatar_url":"https://github.com/erismardev.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoJob Opportunities API\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"./assets/GopportunitiesHeader.svg\" alt=\"GoJob Header\"\u003e\n\u003c/p\u003e\n\nThis project is a modern job opportunities API built using Golang, currently one of the highest paying programming languages. The API is powered by Go-Gin as a router, GoORM for database communication, SQLite as the database, and Swagger for API documentation and testing. The project follows a modern package structure to keep the codebase organized and maintainable.\n\n---\n\n## Features\n\n- Introduction to Golang and building modern APIs\n- Development environment setup for creating the API\n- Using Go-Gin as a router for route management\n- Implementing SQLite as the database for the API\n- Using GoORM for communication with the database\n- Integrating Swagger for API documentation and testing\n- Creating a modern package structure for organizing the project\n- Implementing a complete job opportunities API with endpoints for searching, creating, editing, and deleting opportunities\n- Implementing automated tests to ensure API quality\n\n## Live Version\n\nYou can check the documentation and perform tests to the API by visiting the live version hosted at [gopportunities.onrender.com](https://gopportunities.onrender.com/swagger/index.html).\n\n## Installation\n\nTo use this project, you need to follow these steps:\n\n1. Clone the repository: `git clone https://github.com/username/repo-name.git`\n2. Install the dependencies: `go mod download`\n3. Build the application: `go build`\n4. Run the application: `./main`\n\n## Makefile Commands\n\nThe project includes a Makefile to help you manage common tasks more easily. Here's a list of the available commands and a brief description of what they do:\n\n- `make run`: Run the application without generating API documentation.\n- `make run-with-docs`: Generate the API documentation using Swag, then run the application.\n- `make build`: Build the application and create an executable file named `gopportunities`.\n- `make test`: Run tests for all packages in the project.\n- `make docs`: Generate the API documentation using Swag.\n- `make clean`: Remove the `gopportunities` executable and delete the `./docs` directory.\n\nTo use these commands, simply type `make` followed by the desired command in your terminal. For example:\n\n```sh\nmake run\n```\n\n## Docker and Docker Compose\n\nThis project includes a `Dockerfile` and `docker-compose.yml` file for easy containerization and deployment. Here are the most common Docker and Docker Compose commands you may want to use:\n\n- `docker build -t your-image-name .`: Build a Docker image for the project. Replace `your-image-name` with a name for your image.\n- `docker run -p 8080:8080 -e PORT=8080 your-image-name`: Run a container based on the built image. Replace `your-image-name` with the name you used when building the image. You can change the port number if necessary.\n\nIf you want to use Docker Compose, follow these commands:\n\n- `docker compose build`: Build the services defined in the `docker-compose.yml` file.\n- `docker compose up`: Run the services defined in the `docker-compose.yml` file.\n\nTo stop and remove containers, networks, and volumes defined in the `docker-compose.yml` file, run:\n\n```sh\ndocker-compose down\n```\n\nFor more information on Docker and Docker Compose, refer to the official documentation:\n\n- [Docker](https://docs.docker.com/)\n- [Docker Compose](https://docs.docker.com/compose/)\n\n## Used Tools\n\nThis project uses the following tools:\n\n- [Golang](https://golang.org/) for backend development\n- [Go-Gin](https://github.com/gin-gonic/gin) for route management\n- [GoORM](https://gorm.io/) for database communication\n- [SQLite](https://www.sqlite.org/index.html) as the database\n- [Swagger](https://swagger.io/) for API documentation and testing\n\n## Usage\n\nAfter the API is running, you can use the Swagger UI to interact with the endpoints for searching, creating, editing, and deleting job opportunities. The API can be accessed at `http://localhost:$PORT/swagger/index.html`.\n\nDefault $PORT if not provided=8080.\n\n## Contributing\n\nTo contribute to this project, please follow these guidelines:\n\n1. Fork the repository\n2. Create a new branch: `git checkout -b feature/your-feature-name`\n3. Make your changes and commit them using Conventional Commits\n4. Push to the branch: `git push origin feature/your-feature-name`\n5. Submit a pull request\n\n---\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE.md file for details.\n\n## Credits\n\nThis project was created by [Erismar Oliveira](https://github.com/erismaroliveira).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferismardev%2Fgopportunities","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferismardev%2Fgopportunities","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferismardev%2Fgopportunities/lists"}