Add mongoose
Generate posts service
This step is important, do not skip, even if you don't need posts collection, we need to create at least one mongoose service for feathers cli connect mongoDB and mongoose to our app
$ feathers generate service
? What kind of service is it? Mongoose
? What is the name of the service? posts
? Which path should the service be registered on? /posts
? Does the service require authentication? Yes
git add . git commit -m "Generate posts service"
Last updated