A modern React application that lets users explore the Star Wars universe by searching for characters and viewing their detailed information from the Star Wars API.
- Character Search: Find Star Wars characters by name
- Detailed Information: View comprehensive character details including:
- Name, birth year, height, and mass
- Home planet information
- Film appearances
- Vehicles and starships operated
- Responsive Design: Optimized for both desktop and mobile devices
- Fast Performance: Built with modern React practices for optimal speed
Before installing this application, ensure you have the following:
- Node.js (v20 or later)
- npm (v10 or later)
- Git
- AWS CLI (for deployment)
- Terraform (for infrastructure management)
To install and run the app on your local machine:
- Clone the repository:
git clone https://github.com/yourusername/reacting-to-the-force.git
- Navigate to the project folder:
cd reacting-to-the-force
- Install the dependencies:
npm install
- Run the development server:
npm run dev
- Open your browser and navigate to
http://localhost:5173
To deploy the application on AWS:
- Ensure you have AWS CLI configured with appropriate credentials.
- Ensure Terraform is installed and configured on your machine.
- Navigate to the infra directory:
cd infra
- Run the deployment script:
./deploy.sh
The script will:
- Install dependencies and build the project
- Initialize and apply Terraform configuration
- Upload the build to an S3 bucket
- Invalidate the CloudFront distribution cache
- React 18
- TypeScript
- Vite
- Redux Toolkit & React Redux
- React Router
- Tailwind CSS
- React Three Fiber & Drei (3D rendering for background)
- Axios (API requests)
- AWS (S3, CloudFront)
- Terraform
This project is licensed under the MIT License - see the LICENSE file for details.