Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename "form-service" app to "rest-api" in lieu of a "form-service" p…
Browse files Browse the repository at this point in the history
…ackage.
danielnaab committed Jan 12, 2024
1 parent 621b3be commit bf73645
Showing 7 changed files with 5 additions and 5 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@atj/form-service",
"name": "@atj/form-rest-api",
"private": true,
"description": "backend service for handling submitted forms",
"main": "src/index.ts",
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions infra/src/app-stack.ts
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ import { AwsProvider } from '@cdktf/provider-aws/lib/provider';

import { withBackend } from './backend';
import { Docassemble } from './docassemble';
import { FormService } from './form-service';
import { FormService } from './rest-api';

export const registerAppStack = (stackPrefix: string) => {
const app = new App();
@@ -22,6 +22,6 @@ class AppStack extends TerraformStack {
});

new Docassemble(this, `${id}-docassemble`);
new FormService(this, `${id}-form-service`);
new FormService(this, `${id}-rest-api`);
}
}
2 changes: 1 addition & 1 deletion infra/src/form-service.ts → infra/src/rest-api.ts
Original file line number Diff line number Diff line change
@@ -11,7 +11,7 @@ export class FormService extends Construct {
super(scope, id);

const config = {
path: '../../apps/form-service/dist',
path: '../../apps/rest-api/dist',
handler: 'index.lambdaHandler',
runtime: 'nodejs18.x',
};
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf73645

Please sign in to comment.