{"id":22733747,"url":"https://github.com/marcesdan/serverless-swapi-challenge","last_synced_at":"2025-03-30T02:11:12.374Z","repository":{"id":192007539,"uuid":"685375606","full_name":"marcesdan/serverless-swapi-challenge","owner":"marcesdan","description":null,"archived":false,"fork":false,"pushed_at":"2023-09-01T10:20:54.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-05T04:32:04.572Z","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/marcesdan.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}},"created_at":"2023-08-31T05:00:45.000Z","updated_at":"2023-09-01T08:40:04.000Z","dependencies_parsed_at":"2023-09-02T01:28:33.680Z","dependency_job_id":null,"html_url":"https://github.com/marcesdan/serverless-swapi-challenge","commit_stats":null,"previous_names":["marcesdan/serverless-swapi-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fserverless-swapi-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fserverless-swapi-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fserverless-swapi-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcesdan%2Fserverless-swapi-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcesdan","download_url":"https://codeload.github.com/marcesdan/serverless-swapi-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246266248,"owners_count":20749754,"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-12-10T20:16:00.023Z","updated_at":"2025-03-30T02:11:12.356Z","avatar_url":"https://github.com/marcesdan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Serverless SWAPI Code Challenge\n\nThis repository contains the code challenge for building a serverless application using Serverless Framework, TypeScript, AWS Lambda, and DynamoDB.\n\n## Getting Started\n\n### Prerequisites\n\nBefore you begin, ensure you have the following installed:\n\n- [Git](https://git-scm.com/)\n- [Node.js](https://nodejs.org/) (16 LTS)\n- [AWS CLI](https://aws.amazon.com/cli/) with AWS credentials configured\n\n### Clone the Repository\n\n```bash\ngit clone https://github.com/marcesdan/serverless-swapi-challenge\n```\n\n### Install Dependencies\n\n```bash\n    cd serverless-swapi-challenge\n    npm install\n```\n\n### Run Locally\n\nTo run the application locally using serverless-offline and a local instance of DynamoDB, use the following command:\n\n```bash\n    npm run dev\n```\n\nThis will start the local development server with.\n\n- GET | http://localhost:3000/dev/vehicle\n- GET | http://localhost:3000/dev/starship\n- PUT | http://localhost:3000/dev/vehicle/{id}\n- PUT | http://localhost:3000/dev/starship/{id}\n\n## Deployment\n\nBefore deploying your application to AWS, make sure you have AWS credentials configured. If you haven't already, you can configure them using:\n\n```bash\naws configure\n```\n\n### Deploy to AWS\n\nOnce your AWS credentials are configured, you can deploy the application using the following commands:\n\n```bash\n    npm run deploy\n```\n\nThis will package and deploy your serverless application to AWS Lambda and set up the necessary resources.\n\nCongratulations! Your serverless SWAPI code challenge application is now deployed and ready to use.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcesdan%2Fserverless-swapi-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcesdan%2Fserverless-swapi-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcesdan%2Fserverless-swapi-challenge/lists"}