# Dart and MongoDB Tutorial #2: Implement a RESTful API to interface with our database

In the [last tutorial](https://creativebracket.com/dart-and-mongodb-tutorial-1/) we learnt how to talk to a MongoDB database using the mongo\_dart package.

In this video we will learn how to write a RESTful api to talk to our MongoDB database with inbuilt Dart classes and the mongo\_dart package. MongoDB is a well-known NoSQL database that stores its items as JSON documents (BSON to be exact).

At the end of this video, you will be comfortable writing a RESTful api to interface with a MongoDB database.

%[https://youtu.be/UGuTTxH9Gfk] 

[Get the source code](https://github.com/graphicbeacon/dart_mongo)
