https://github.com/kundan547/mern-application
This project demonstrates the automated deployment of a MERN (MongoDB, Express.js, React.js, Node.js) application on AWS using Ansible. The architecture includes a public EC2 instance acting as a web server, which runs Dockerized frontend and backend services, and a private EC2 instance securely
https://github.com/kundan547/mern-application
ansible-playbook aws grafana mongodb nginx nodejs prometheus
Last synced: 3 months ago
JSON representation
This project demonstrates the automated deployment of a MERN (MongoDB, Express.js, React.js, Node.js) application on AWS using Ansible. The architecture includes a public EC2 instance acting as a web server, which runs Dockerized frontend and backend services, and a private EC2 instance securely
- Host: GitHub
- URL: https://github.com/kundan547/mern-application
- Owner: Kundan547
- License: mit
- Created: 2025-03-24T11:43:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-08T11:40:25.000Z (11 months ago)
- Last Synced: 2025-10-23T06:57:15.395Z (8 months ago)
- Topics: ansible-playbook, aws, grafana, mongodb, nginx, nodejs, prometheus
- Language: JavaScript
- Homepage:
- Size: 229 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Travel Memory
`.env` file to work with the backend after creating a database in mongodb:
```
MONGO_URI='ENTER_YOUR_URL'
PORT=3001
```
Data format to be added:
```json
{
"tripName": "Incredible India",
"startDateOfJourney": "19-03-2022",
"endDateOfJourney": "27-03-2022",
"nameOfHotels":"Hotel Namaste, Backpackers Club",
"placesVisited":"Delhi, Kolkata, Chennai, Mumbai",
"totalCost": 800000,
"tripType": "leisure",
"experience": "Lorem Ipsum, Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum,Lorem Ipsum, ",
"image": "https://t3.ftcdn.net/jpg/03/04/85/26/360_F_304852693_nSOn9KvUgafgvZ6wM0CNaULYUa7xXBkA.jpg",
"shortDescription":"India is a wonderful country with rich culture and good people.",
"featured": true
}
```
For frontend, you need to create `.env` file and put the following content (remember to change it based on your requirements):
```bash
REACT_APP_BACKEND_URL=http://localhost:3001
```# Mern-Application