{"id":13701308,"url":"https://github.com/harijoe/serverless-boilerplate","last_synced_at":"2026-02-22T06:02:42.651Z","repository":{"id":90641209,"uuid":"158269226","full_name":"harijoe/serverless-boilerplate","owner":"harijoe","description":"Minimal yet super-functional serverless boilerplate","archived":false,"fork":false,"pushed_at":"2018-12-04T16:58:08.000Z","size":103,"stargazers_count":242,"open_issues_count":0,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-04T21:35:15.916Z","etag":null,"topics":["boilerplate","serverless"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/harijoe.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}},"created_at":"2018-11-19T18:04:10.000Z","updated_at":"2024-09-26T00:59:40.000Z","dependencies_parsed_at":"2023-07-16T03:45:18.506Z","dependency_job_id":null,"html_url":"https://github.com/harijoe/serverless-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harijoe/serverless-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harijoe%2Fserverless-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harijoe%2Fserverless-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harijoe%2Fserverless-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harijoe%2Fserverless-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harijoe","download_url":"https://codeload.github.com/harijoe/serverless-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harijoe%2Fserverless-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29705840,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-22T05:59:28.568Z","status":"ssl_error","status_checked_at":"2026-02-22T05:58:46.208Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["boilerplate","serverless"],"created_at":"2024-08-02T20:01:28.385Z","updated_at":"2026-02-22T06:02:42.611Z","avatar_url":"https://github.com/harijoe.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","Related projects"],"sub_categories":[],"readme":"# Serverless Boilerplate ⚡️\nThe easiest serverless boilerplate to get started with 👌\n\n_by [@JulienVallini](https://twitter.com/julienvallini)_\n\n## Motivation\nServerless is awesome : no more server to setup, ultra scalable and very cheap. But I found not very easy to find the perfect setup to get started with. Using serverless brings a lot of not well documented pitfalls that drain a considerable amount of time and energy. I made this boilerplate after gathering the solutions to all of these. \n\nThe goal is to keep these pitfalls out of the way.\n\n## Installation\n```\n# If you don't already have the serverless cli installed, do that\nnpm i -g serverless\n\n# If it's the first time you use aws, you need to configure credentials\n# https://github.com/serverless/serverless/blob/master/docs/providers/aws/guide/credentials.md\n\n# Use the serverless cli to install this repo\nserverless install --url https://github.com/harijoe/serverless-boilerplate --name \u003cyour-service-name\u003e\n\n# cd into project and set it up\ncd \u003cyour-service-name\u003e\n\n# Install dependencies\nnpm i\n\n# Install dynamoDB libs\nsls dynamodb install\n```\n\n## How to use it ?\nFirst, change service name in `serverless.yml` !\n\nTo start offline development:\n```\nnpm start\n```\n\nTo deploy:\n```\nsls deploy -s \u003cspecify-a-stage\u003e\n```\n\nCurrent available environments are `staging` and `production` but you can configure any environment you like in `env.yml`\n\n## What's included ?\n * Environments\n * Webpack\n * Offline\n * DynamoDB\n * Middlewares\n * Prettier\n * Module by absolute path resolution\n\n### Environments\nEnvironments and environment variables can be configured in `env.yml`. `dev` is the one used by default. \nYou can deploy to staging or production by using `sls deploy -s prod`. A different dynamoDB instance for each environment will be created. \n\n### Prettier\nBest code formatting tool. It will be automatically run on each commit.\n\nTweak .prettierrc to match your own flavor.\n\n### Webpack\n`serverless-webpack` allows the use of babel plugins to enable modern javascript features. You should not modify its configuration.\n\nTweak .babelrc to add plugins you want to use.\n\n### Offline\n`serverless-offline` is configured to enable offline development, use it with `npm run start`\n\n### DynamoDB\nSupport for DynamoDB both locally and in the cloud. It's a quite easy to use nosql database\n\n### Middlewares\n[Handly](https://github.com/harijoe/handly) is included. It's a handy wrapper for serverless handlers applying very useful middlewares. \n\n## License\nServerless Boilerplate is [MIT licensed](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharijoe%2Fserverless-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharijoe%2Fserverless-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharijoe%2Fserverless-boilerplate/lists"}