Skip to content

mongodb-developer/render-mern-atlas-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

render-mern-atlas-starter

Using Mern Stack code for the Mern Tutorial

Deploy to Render

CI

The render yaml

The render.yaml file is building a small mern application on the "free" tier on Render.com

services:
  - type: web
    name: mern-stack-example
    env: node
    plan: free
    buildCommand: cd mern/client && npm install && npm run build && mv dist ../server/public
    startCommand: cd mern/server && npm install && npm start
    envVars:
      - key: ATLAS_URI
        sync: false
        generateValue: false
    healthCheckPath: /

The button on the top can be used to deploy this repo into the Render.

Input your Atlas Cluster to integrate the service with MongoDB Atlas.

render-deploy

The project

Local version of the code can be found here:

Disclaimer

Use at your own risk; not a supported MongoDB product

About

A Render.com template for MERN with Atlas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published