This project is an ecommerce microservices store built with a React frontend and an Express backend, using MongoDB as the database. It showcases the use of microservices architecture in building scalable ecommerce platforms. The frontend is built with React for a dynamic and responsive user interface, while the backend is powered by Express for handling API requests and MongoDB for data storage.
- Requirements
- Clone Repository
- Installation
- Running the Application
- Running with Docker Compose
- Running with Ansible
- Screenshots
Make sure that you have the following installed:
To clone the repository, run the following command in your terminal:
git clone https://github.com/Ebenezr/yolo.git
cd client
npm install
npm start
cd ../backend
npm install
npm start
If you have Docker installed, you can use Docker Compose to run the application:
docker-compose up
If you have Ansible installed, you can use it to automate the deployment of the application. Here's a basic example of how you might do this:
- First, install Ansible , Vagrant, Virtual Box and terraform on your local machine. You can do this with the following command:
sudo apt-get update
sudo apt-get install ansible vagrant virtualbox
- Run the playbook with the following command:
ansible-playbook execute_terraform.yml