Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kamranahmedse/mongo-playground
Single command to setup MongoDB playground with different datasets
https://github.com/kamranahmedse/mongo-playground
Last synced: 11 days ago
JSON representation
Single command to setup MongoDB playground with different datasets
- Host: GitHub
- URL: https://github.com/kamranahmedse/mongo-playground
- Owner: kamranahmedse
- License: mit
- Created: 2022-09-27T15:16:37.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-09-27T15:21:54.000Z (about 2 years ago)
- Last Synced: 2024-08-03T19:09:43.531Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 42.9 MB
- Stars: 21
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# mongo-playground
> Single command to setup MongoDB playground with different datasets
Clone and run `docker compose` to get a running MongoDB instance with following datasets:
* [Airbnb](./importer/data/airbnb.json) — Airbnb listings, details and their reviews
* [Books](./importer/data/books.json) - List of books with titles, authors, isbn, page count, status etc
* [Companies](./importer/data/companies.json) - List of companies with name, details, website, employee count etc.
* [Countries](./importer/data/countries.json) - List of countries with their names and ISO codes in different languages
* [Restaurants](./importer/data/restaurants.json) - List of restaurants with their names, address, ratings and food they serve
* [Students](./importer/data/students.json) - List of students with their names and scores in different exam types## Running
Clone the repository
```shell
git clone [email protected]:kamranahmedse/mongo-playground
```Run the application using docker compose
```shell
docker-compose up
```## Contributions
Feel free to submit pull requests, create issues or spread the word.## License
MIT © [Kamran Ahmed](https://twitter.com/kamranahmedse)