An open API service indexing awesome lists of open source software.

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

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