AQUA Puerto Plata is a user-friendly web application designed for both mobile and desktop devices. It serves as a landing page for a collection of Airbnb properties.
- Installation
- Configuration
- Prerequisites
- Usage
- Features
- Production Link
- Contact Information
- Acknowledgments
To set up and install the project, follow these steps:
-
Clone the repository:
git clone https://github.com/elkingarcia11/aqua_v2.git
-
Install dependencies using npm or yarn:
npm install
oryarn install
-
Install the GitHub CLI
-
Clone the repository:
git clone https://github.com/elkingarcia11/aqua_v2.git
-
Install project dependencies using npm or yarn:
npm install
oryarn install
Configure the project's environment variables by creating a .env
file and adding your Google Maps API Key.
Before running the project, ensure you have the following prerequisites:
- npm/yarn installed
- Project dependencies installed using npm/yarn
-
.env
file created and configured
To use the project:
- Run the development server:
npm run dev
oryarn dev
- Open your browser and navigate to http://localhost:3000 to see the result.
Follow these steps to deploy your Next.js project on Google Cloud Platform (GCP):
Enable the Secret Manager API on your GCP project.
Create a secret in Secret Manager to securely store your API key.
- Navigate to Cloud Build and create a connection between your source code repository and Cloud Build.
- Configure access to your repository to allow Cloud Build to fetch the source code.
- Grant the Secret Manager Secret Accessor (roles/secretmanager.secretAccessor) IAM role for the secret to the Cloud Build service account.
- Create a Cloud Run service for hosting your Next.js application.
- Set up continuous deployment for your project by configuring Cloud Build to deploy new revisions from your source code repository.
- Link your source code repository with the Cloud Run service to streamline the deployment process.
- Generate or update the
cloudbuild.yaml
file in your project. - Include the necessary steps to retrieve the API key secret from Secret Manager and add it to your project's
.env
file during the build process.
Rerun the Cloud Build trigger to initiate the build process. This will include the new configuration for handling API keys.
By following these steps, you'll deploy your Next.js project on Google Cloud Platform, ensuring secure management of sensitive information like API keys. Continuous deployment through Cloud Build and Cloud Run integration simplifies the deployment workflow and keeps your application up-to-date with the latest revisions.
- Engaging slideshow of images for each apartment
- Multilingual support catering to diverse international clients
- Smart filtering based on desired guest capacity, views, bathrooms, and bedrooms
- Direct reservation links for each apartment
- Clear directions and location information to address Airbnb-related uncertainties
Explore the AQUA Puerto Plata project.
For questions, feedback, or inquiries, please don't hesitate to contact me via email at [email protected] or connect with me on LinkedIn.
I would like to acknowledge Hotels.com and Bookings.com, which inspired this application.