https://github.com/dauntlessdev/dart_mongo-starter
used mongo db for creating a RESTFUL API in dart
https://github.com/dauntlessdev/dart_mongo-starter
dart mongo-dart mongo-db restful-api
Last synced: 3 months ago
JSON representation
used mongo db for creating a RESTFUL API in dart
- Host: GitHub
- URL: https://github.com/dauntlessdev/dart_mongo-starter
- Owner: DauntlessDev
- Created: 2020-08-28T21:38:12.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-31T21:38:23.000Z (almost 5 years ago)
- Last Synced: 2025-02-13T14:38:44.761Z (5 months ago)
- Topics: dart, mongo-dart, mongo-db, restful-api
- Language: Dart
- Homepage:
- Size: 10.7 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Dart and MongoDB
This projects demonstrates how to talk to a MongoDB database.
## Download and Install MongoDB
Visit [https://docs.mongodb.com/manual/administration/install-community/](https://docs.mongodb.com/manual/administration/install-community/) and select your OS for instructions.
## Upload json dataset into database
1. Start your MongoDB server
```bash
mongod
```2. Import person.json with `mongoimport` executable
```bash
mongoimport --jsonArray -d -c --file
```## Run the project
Execute this command in your terminal:
```bash
dart bin/main.dart
```