This project aims to containerize and deply an application using Docker, along with provisioning infrastructure using Terraform and configuring servers with Ansible.
Make sure that you have the following installed:
- Clone the repository to your local machine.
- Navigate to the
clientfolder and runnpm installto install frontend dependencies. - Start the frontend application using
npm start. - Open a new terminal, navigate to the
backendfolder, and runnpm installto install backend dependencies. - Start the backend application using
npm start.
For the infrastructure setup, we utilized Terraform scripts to provision the required resources on the Google Cloud Platform (GCP). The scripts automate the creation of virtual machines and other necessary infrastructure components. For detailed information, refer to the terraform/ directory.
The application server setup and configuration were handled using Ansible playbooks. These playbooks triggered both resource provisioning using Terraform and server configuration using defined Ansible roles. For more details, see the ansible/ directory.
- Janice Keller