Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/do-community/mongodb-resources
Resources for using MongoDB on DigitalOcean
https://github.com/do-community/mongodb-resources
mongodb
Last synced: 4 days ago
JSON representation
Resources for using MongoDB on DigitalOcean
- Host: GitHub
- URL: https://github.com/do-community/mongodb-resources
- Owner: do-community
- Created: 2021-04-21T23:44:39.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-07-07T15:10:11.000Z (over 3 years ago)
- Last Synced: 2023-02-28T05:17:44.492Z (over 1 year ago)
- Topics: mongodb
- Homepage: https://www.digitalocean.com/products/managed-databases/
- Size: 42.1 MB
- Stars: 15
- Watchers: 6
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MongoDB Resources
This repo is dedicated to resources for using [MongoDB on DigitalOcean](https://www.digitalocean.com/products/managed-databases/).
- **[Sample Apps](#sample-apps)**: See how apps can integrate MongoDB
- **[Sample Datasets](#sample-datasets)**: Use these to populate a new MongoDB database so you can use them in your demo apps
- **[Tutorials](#tutorials)**: Watch and read on ways to build with MongoDB on DigitalOcean## DigitalOcean + MongoDB Hackathon!
[Join the "Everything is a CRUD App" Hackathon](https://digitalocean.com/mongodb-hackathon)
Build a MongoDB app deployed to DigitalOcean and get a shirt and stickers!
## Sample Apps
Following are sample apps that you can deploy to DigitalOcean App Platform
- Node API (Fastify + MongoDB)
- Jamstack Blog (Strapi + Next.js + MongoDB)
- Unsplash App (Strapi + Next.js + MongoDB)| App | Description | GitHub | Deploy |
|-----|-------------|--------|--------|
|Node API|Build a Node API using Express and MongoDB.|[Repo](https://github.com/do-community/node-express-api)|[![Deploy to DO](https://mp-assets1.sfo2.digitaloceanspaces.com/deploy-to-do/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/do-community/node-express-api/tree/master)|
|Strapi + Next Blog|Create a backend CMS and API w/ Strapi and show data with a Next.js frontend.|[Strapi Repo](https://github.com/do-community/jamstack-blog-strapi) - [Next.js Repo](https://github.com/do-community/jamstack-blog-nextjs)|[![Deploy to DO](https://mp-assets1.sfo2.digitaloceanspaces.com/deploy-to-do/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/chris-on-code/jamstack-blog-strapi/tree/master)
|Unsplash Clone|Use Strapi and Next.js to create an image uploads site.|[Strapi Repo](https://github.com/do-community/unsplash-clone-strapi) - [Next.js Repo](https://github.com/do-community/unsplash-clone-nextjs)|[![Deploy to DO](https://mp-assets1.sfo2.digitaloceanspaces.com/deploy-to-do/do-btn-blue.svg)](https://cloud.digitalocean.com/apps/new?repo=https://github.com/chris-on-code/unsplash-clone-strapi/tree/master)## Sample Datasets
Sample datasets are pulled from the community repo: [mongodb-json-files](https://github.com/ozlerhakan/mongodb-json-files).
| Name | Description | Size | Data type |
|------|-------------|------|-----------|
|[Grades](/datasets/grades.json)|Grades w/ types of exam|92 kb|JSON
|[Students](/datasets/students.json)|Students w/ multiple types of grades|35 kb|JSON
|[Products](/datasets/products.json)|Products w/ price, rating, and type|2.8 kb|JSON
|[Countries](/datasets/countries-small.json) (Small)|A list of countries|329 kb|JSON
|[Countries](/datasets/countries-big.json) (Big)|A larger list of countries|2.3 mb|JSON
|[Restaurants](/datasets/restaurants.json)|Restaurants w/ type of food, address, more|666 kb|JSON
|[Books](/datasets/books.json)|Books w/ descriptions|525 kb|JSON### How to use sample datasets
The quick tutorial for how to add these sample datasets to a MongoDB database on DigitalOcean are:
1. Install MongoDB Compass
1. Create a MongoDB database
1. Grab your connection URL
1. Connect to your database from MongoDB Compass
1. Upload one of these sample datasetsView the full tutorial: [How to Import Sample Data into MongoDB](/tutorial.md)
## License
[![Creative Commons](https://i.creativecommons.org/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)