This repository contains the sample application for showing how to get started using MongoDB Atlas and Ruby on Rails.
- Main: This contains the base working application for CRUD operations against your MongoDB data.
- Atlas-Search: This branch contains an implementation of Atlas Search on the application.
- 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 URI value in
config/mongoid.yml
to your Connection String:
ATLAS_URI=mongodb+srv://<username>:<password>@sandbox.jadwj.mongodb.net/myFirstDatabase?retryWrites=true&w=majority
- Start the Application From your command-line of choice, run:
rails server
Use at your own risk; not a supported MongoDB product