/form-service

Contact form service built on AWS.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

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:

  1. The backend folder. This folder contains a Serverless project, which serves as the backend for the service.
  2. The frontend folder. This folder contains a React.JS application, which serves as the frontend for the service.
  3. The integration-testing folder. This folder contains a Nightwatch-powered test suite, which verifies that the backend/frontend work together as expected.
  4. 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:

  1. Run integration tests. See instructions in integration-testing folder.
  2. Run backend tests. See instructions in backend folder.
  3. Run frontend tests. See instructions in frontend folder.
  4. Deploy the backend to the appropriate environment (dev or prod). See instructions in backend folder.
  5. 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.