title: MongoDB add an autoincrement
body: <p>Looking to be able to have an autoincrementing value in my React application using MongoDB in my back-end using NodeJS running on a Ubuntu server.</p>
  <p>The docs that I have found refer to setting up a Trigger.  The docs look like they are referencing Mongo Atlas.  Since I am not using Atlas, I am looking for an alternative solution.
  Any help would be appreciated.</p>