https://github.com/mdazfar2/three-tier-deploy-wanderlustapp
Welcome to Wanderlust! This three-tier travel app, powered by React.js, Node.js, and MongoDB, is your gateway to discovering exciting destinations, seamlessly deployed on AWS and Docker.
https://github.com/mdazfar2/three-tier-deploy-wanderlustapp
aws devops docker docker-compose
Last synced: about 2 months ago
JSON representation
Welcome to Wanderlust! This three-tier travel app, powered by React.js, Node.js, and MongoDB, is your gateway to discovering exciting destinations, seamlessly deployed on AWS and Docker.
- Host: GitHub
- URL: https://github.com/mdazfar2/three-tier-deploy-wanderlustapp
- Owner: mdazfar2
- Created: 2024-04-13T09:49:46.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T22:09:48.000Z (about 2 years ago)
- Last Synced: 2024-04-14T00:03:13.049Z (about 2 years ago)
- Topics: aws, devops, docker, docker-compose
- Language: TypeScript
- Homepage:
- Size: 551 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Three Tier Wanderlust App

## Overview-
Welcome to Wanderlust! This three-tier travel app, powered by React.js, Node.js, and MongoDB, is your gateway to discovering exciting destinations, seamlessly deployed on AWS and Docker! 🌍✈️
# Step by Step guide for making this project-
1. Fork this repo or clone-
```bash
git clone https://github.com/mdazfar2/three-tier-deploy-wanderlustApp.git
```
2. Install docker and docker-compose
3. Go to the `backend` directory
```bash
cd three-tier-deploy-wanderlustApp/backend
```
4. Then go to the `.env.sample` file and edit, paste your public ec2-ip & then save
```bash
vim .env.sample
```

5. And then build image for `backend`
```bash
docker build -t backend .
```
6. Now move back to the `frontend` directory
```bash
cd ../frontend
```
7. Then again go to the `.env.sample` file and edit, and paste your public ec2 id & then save
```bash
vim .env.sample
```

8. Then build the image for `frontend`
```bash
docker build -t frontend .
```
9. Now, navigate to the main directory of our project, which is `three-tier-deploy-wanderlustApp`.
```bash
cd ..
```
10. Now run the docker-compose-
```bash
docker-compose up -d --build
```
11. Now go the Inside the mongoDB container for Import sample data
```bash
docker exec -it mongoimport --db wanderlust --collection posts --file ./data/sample_posts.json --jsonArray
11. Now use your with port:5173
```
EC2-public-Ip:5173
```
***After this it will be running fine and well, if you are facing any issues, please don't hesitate to ask me. You can connect with me on-***
- [LinkedIN](https://linkedin.com/in/md-azfar-alam)
- [Discord](https://discordapp.com/users/877531143610708028)
- [Mail Me](mailto:azfaralam.ops@gmail.com)
---
### Will also deploy it using kubernetes, stay tuned! Thanks :)