Skip to content

mongodb-developer/mern-k8s

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple demo app using the MongoDB Atlas Operator on k8s

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published