This is a minimal working example of using the driver in a Vapor application.
To test it out, do the following:
mongodto start MongoDB running on
- Navigate to the
Examples/directory (one level up from this one.)
../loadExampleData.shto load sample data into the database.
- Navigate to the root directory of this example.
- Navigate to
localhost:8080/kittensto see the example data loaded on the web page.