{"id":21434378,"url":"https://github.com/microlambda/starter-project","last_synced_at":"2025-03-16T22:46:39.955Z","repository":{"id":196051182,"uuid":"351010541","full_name":"microlambda/starter-project","owner":"microlambda","description":null,"archived":false,"fork":false,"pushed_at":"2024-01-15T14:50:09.000Z","size":1457,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-01-23T09:11:30.422Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/microlambda.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":"2021-03-24T08:57:23.000Z","updated_at":"2023-09-20T14:49:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"3593c6d2-f96b-4b4f-926a-aad19ffdeafd","html_url":"https://github.com/microlambda/starter-project","commit_stats":null,"previous_names":["microlambda/starter-project"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlambda%2Fstarter-project","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlambda%2Fstarter-project/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlambda%2Fstarter-project/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/microlambda%2Fstarter-project/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/microlambda","download_url":"https://codeload.github.com/microlambda/starter-project/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945529,"owners_count":20372894,"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":"2024-11-22T23:35:21.193Z","updated_at":"2025-03-16T22:46:39.932Z","avatar_url":"https://github.com/microlambda.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003emy-app\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"150\" height=\"150\" src=\"https://raw.githubusercontent.com/microlambda/.github/e6430357d33bcadea731c5979c5f837afb6a9d8f/logo-blue.svg\" alt=\"Logo\"/\u003e\n\u003c/p\u003e\n\nmy-app is a Microlambda project. Check the [documentation](https://microlambda.dev/docs) to get started.\n\n### Build the project\n\nYou can check that the project builds using:\n\n`yarn mila build`\n\nThis will build all packages in topological order.\n\nSubsequent builds will use local caches.\n\n### Run unit and functional tests\n\nYou run the automated tests using:\n\n`yarn mila-runner run test`\n\nThis will test all packages in parallel.\n\n### Start locally\n\nStart the project with Microlambda UI using ``yarn start``\n\n### Deploy to AWS\n\nIn your current terminal session, log in AWS using a keypair, SSO or exporting `AWS_PROFILE`.\n\n\u003e Verify you are logged in correct account using ``aws sts get-caller-identity``\n\nInitialize remote state using ``yarn mila init``\n\n### Create a new environment\n\nCreate a new environment using ``yarn mila envs create \u003cenv-name\u003e``.\n\nAnd choose all regions were infrastructure should be replicated.\n\nThen perform your first deploy using ``yarn mila deploy -e \u003cenv-name\u003e``\n\n### Create a regional replicate\n\nCreate a replicate for an exiting environment using ``yarn mila envs create-replicate \u003cenv-name\u003e \u003ctarget-region\u003e``.\n\nThe services will be deployed on the region and the remote state updated.\n\nYou can remove a replicate using ``yarn mila envs destroy-replicate \u003cenv-name\u003e \u003ctarget-region\u003e``\n\n\u003e **Warning**: this will destroy all resources in the target region.\n\n### Destroy an environment\n\nDestory an existing environment using ``yarn mila envs destroy \u003cenv-name\u003e``.\n\n\u003e **Warning**: this will destroy all resources related to this environment.\n\n### Create a new microservice\n\nUse blueprints to generate boilerplate for new services and packages using ``yarn mila generate``\n\n### Remove a microservice\n\nTo remove a microservice which has already been deployed, use the remove command to delete services in every environment\nit has been deployed.\n\n``yarn mila remove -e \u003cenv\u003e -s \u003cmy-service\u003e``\n\nThen, remove it from the codebase\n\n```bash\nrm -rf ./services/\u003cmy-service\u003e\nyarn\n```\n\n### Guides\n\n* [Manage environment variables and secrets](https://microlambda.dev/docs/tutorial-basics/environment-variables)\n* [Using custom domain](https://microlambda.dev/docs/deployments/using-custom-domains)\n* [Create regional replicates](https://microlambda.dev/docs/advanced/infrastructure-replication)\n* [Generate code with blueprints](https://microlambda.dev/docs/advanced/customize-blueprints)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrolambda%2Fstarter-project","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrolambda%2Fstarter-project","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrolambda%2Fstarter-project/lists"}