Skip to content
This repository was archived by the owner on Jan 21, 2026. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

PerfectExample

This is a minimal working example of using the driver in a Perfect application.

To test it out, do the following:

  1. Run mongod to start MongoDB running on localhost:27017.
  2. Navigate to the Examples/ directory (one level up from this one.)
  3. Run ../loadExampleData.sh to load sample data into the database.
  4. Navigate to the root directory of this example.
  5. Run swift run.
  6. Navigate to localhost:8080/kittens to see the example data loaded on the web page.