Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.1 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.1 KB

MERN & Kubernetes Atlas Operator Demo Application

This repository contains the sample application for the Application Deployment in Kubernetes with the MongoDB Atlas Operator tutorial.

How To Run

  1. You can follow the Getting Started with Atlas guide, to learn how to create a free Atlas account, create your first cluster and get your Connection String to the database. Then, set the Atlas URI connection parameter in src/back/.env to your Connection String, and assign a port:
CONN_STR=mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
PORT=3000
  1. Start the Express server:
cd src/back
npm install
npm install -g nodemon
nodemon server
  1. Start the React app:
cd src/front
npm install
npm start

TravelDemoVid

Disclaimer

Use at your own risk; not a supported MongoDB product