feathers-mongoose-casl
Version 2.1.2
Version 2.1.2
  • feathers-mongoose-casl
  • Docs
    • Migrating
    • START A NEW PROJECT
      • Generate a new project.
      • install feathers-mongoose-casl
      • feathers-logger
      • Update config
      • Add mongoose
      • Email service
      • App hooks
      • Import required services
      • Verify user and filter user fields
      • Swagger, Logger, BodyParser
      • Email templates
      • public HTML
      • Run the server
      • Create you first user
      • vs code snippet extension
      • Test Login
      • Dashboard
      • Create a new Service with casl&Dashboard
      • Posts Postman snippet
      • Add Admin role
      • Done!
    • Advanced
      • Security - eslint-plugin-security
      • Security - rate limiting
      • Development tools
    • Guides
      • Throw errors
      • Auth Flow
      • Authentication
      • Authouriztion
      • /me
      • Rules Cache
      • Create a new service
      • Custom service validtor client data
      • validators
        • Example of use
        • Types
        • Mongoose schema
      • Default value
      • $Populate
      • Upload service
      • Upload files
        • Create upload service
        • Sign File After Populate
        • Storage support
          • Google-cloud
      • Error
      • feathers Client examples
      • Dashboard
        • Dashboard Config
          • Field configuration
          • doc Layout
          • custom Fields
            • customElements
        • Online dashboard
        • Add to your react app
      • customized feathers-mongoose-casl/services
      • Redis - in progress
      • S3
      • Postman
      • Swagger
      • debug
    • Production
      • ENV
    • Feathers wiki
      • Good links
    • utils
      • send email example
      • Async For Each
      • Create heroku server
      • pick
      • vs code snippet extension
      • Persist user request
    • Ecosystem
    • TODO
    • Versions updates
Powered by GitBook
On this page
  • 1 - Create a new app https://dashboard.heroku.com
  • 2 - Add Mlab Add-ons
  • 3 - Create a new DB user
  • 4 -Update "mongodb" url inside config file

Was this helpful?

  1. Docs
  2. utils

Create heroku server

Create a new heroku server with mongodb DB at mLab

PreviousAsync For EachNextpick

Last updated 6 years ago

Was this helpful?

This step is optional but you need a MongoDB server to continue

1 - Create a new app

2 - Add Mlab Add-ons

inside heroku, go to resources tab and add a new Add-ons, look for mLab MongoDB

3 - Create a new DB user

open mlab from heroku and create a new DB user

4 -Update "mongodb" url inside config file

git add .
git commit -m "Update mongodb url"

​​

open config\default.json update "mongodb": "" * don't forget to replace <dbuser> and <dbpassword"

mongodb://<dbuser>:<dbpassword>@ds223685.mlab.com:62685/heroku_djwq7vg7
https://dashboard.heroku.com