Form Service
This is an AWS Lambda-powered contact form service. Website owners can create contact forms using the service, and allow their users to submit messages.
Project Structure
This project has four parts:
- The
backend
folder. This folder contains a Serverless project, which serves as the backend for the service. - The
frontend
folder. This folder contains a React.JS application, which serves as the frontend for the service. - The
integration-testing
folder. This folder contains a Nightwatch-powered test suite, which verifies that the backend/frontend work together as expected. - The
common
folder. This folder contains files common to two or more parts of the codebase.
You can find more information on each part of the project in their respective folders.
Deployment Process
The recommended deployment process is as follows:
- Run integration tests. See instructions in
integration-testing
folder. - Run backend tests. See instructions in
backend
folder. - Run frontend tests. See instructions in
frontend
folder. - Deploy the backend to the appropriate environment (dev or prod). See instructions in
backend
folder. - Deploy the frontend to the same environment. See instructions in
frontend folder.
License
This project is licensed under the Apache License. See the LICENSE
file for more information.