Services that run on Helsingborgs stads API platform helsingborg.io
Report Bug
·
Request Feature
A service is what you might call a Serverless project. It has a single serverless.yml file driving it.
Our app has two API services, each has their own well defined business logic:
- forms-api service: Handles managing the forms data.
- cool-api service: Handles making cool suff.
/
libs/
services/
forms-api/
cool-api/
Why? Most of the code changes are going to happen in this repo. When your team is making rapid changes, you are likely to have many feature branches, bug fixes, and pull requests. A bonus with serverless is that you can spin up new environments at zero cost (you only pay for usage, not for provisioning resources).
For example, a team can have dozens of ephemeral stages such as: prod, staging, dev, feature-x, feature-y, feature-z, bugfix-x, bugfix-y, pr-128, pr-132, etc.
This ensures each change is tested on real infrastructure before being promoted to production.
The services are dependent on the resources that are created in this accompanying repo.
- AWS CLI
- AWS Account
- AWS IAM user
- Homebrew (macOS)
- NodeJS
- NPM
- Serverless Framework
Clone repo
git clone [email protected]:helsingborg-stad/helsingborg-io-sls-api.git
Install shared npm packages
cd helsingborg-io-sls-api
npm install
Every service in this mono repo has its own documentation. Follow links below.
This repo is part of a project called Mitt Helsingborg. See the project backlog for a complete list of upcoming features, known issues and releases.
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License.