{"id":26221801,"url":"https://github.com/liascode/taskteam-technical-test","last_synced_at":"2025-03-12T16:30:09.343Z","repository":{"id":275034422,"uuid":"924860308","full_name":"LiasCode/taskteam-technical-test","owner":"LiasCode","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-30T19:39:45.000Z","size":183,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-30T20:29:32.062Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/LiasCode.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":"2025-01-30T19:22:49.000Z","updated_at":"2025-01-30T19:39:48.000Z","dependencies_parsed_at":"2025-01-30T20:31:09.207Z","dependency_job_id":null,"html_url":"https://github.com/LiasCode/taskteam-technical-test","commit_stats":null,"previous_names":["liascode/taskteam-technical-test"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiasCode%2Ftaskteam-technical-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiasCode%2Ftaskteam-technical-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiasCode%2Ftaskteam-technical-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LiasCode%2Ftaskteam-technical-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LiasCode","download_url":"https://codeload.github.com/LiasCode/taskteam-technical-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243251898,"owners_count":20261299,"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":[],"created_at":"2025-03-12T16:30:08.775Z","updated_at":"2025-03-12T16:30:09.321Z","avatar_url":"https://github.com/LiasCode.png","language":"Go","readme":"# Companies Microservice\n\n## Requirements\n\n- Go 1.20\n- Docker\n- Docker Compose\n- Air\n- Make\n\n## Usage\n\n### `make dev`\n\n- Starts the development server using `air`\n- This command is used to run the application in development mode, where code changes are automatically detected and the server is restarted.\n\n### `make build`\n\n- Builds the Go application using `go build`\n- This command compiles the Go code and creates an executable file in the `dist` directory.\n\n### `make start`\n\n- Builds the Go application using `go build`\n- Starts the production server using the executable file in the `dist` directory\n- This command is used to run the application in production mode.\n\n### `make test`\n\n- Runs the unit tests for the application using `go test`\n- This command executes the test cases written for the application and reports any failures or errors.\n\n### `make docker-build`\n\n- Builds the Docker image for the application using `docker build`\n- This command creates a Docker image with the application code and dependencies.\n\n### `make docker-run`\n\n- Runs the Docker container using `docker compose up`\n- This command starts the Docker container and makes the application available at `http://localhost:3030`.\n\n### `make docker-stop`\n\n- Stops the Docker container using `docker compose down`\n- This command stops the Docker container and removes any resources associated with it.\n\n### `make docker-remove`\n\n- Removes the Docker container using `docker rm`\n- This command deletes the Docker container and any associated resources.\n\n### `make docker-clean`\n\n- Removes the Docker image using `docker rmi`\n- This command deletes the Docker image and any associated resources.\n\n### `make help`\n\n- Displays a list of available `make` scripts and their descriptions\n- This command provides a quick reference for the available `make` scripts and their purposes.\n\n---\n\n### Project Folder Structure\n\n- `api`: Folder containing the implementation of services and infrastructure\n- `cmd`: Folder containing the application commands and server startup\n- `internals`: Folder containing utility and reusable files\n- `pkg`: Folder containing the domain and business logic\n  - `Company`\n    - `model`\n    - `repository`\n    - `usecases`\n  - `EventBroker`\n  - `User`\n- `Makefile`: File containing instructions to compile and run the application\n- `docs`: Contains the project documentation\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliascode%2Ftaskteam-technical-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliascode%2Ftaskteam-technical-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliascode%2Ftaskteam-technical-test/lists"}