This is a nodejs backend template for feathersJS v5 using:
- NodeJS - recommended version node
18.18.x
- Database - MongoDB
- Schema - json-schema
- removed
unique.js
hook, now utilizes mongodb'screateIndex
at the<service-name>.class.
. - added
getSchemaKeysHavingOperator.js
util. - modified (
trim.js
renamed totrimmer.js
) hook to work with deeply nested schema options keywords.
- adding two custom hooks.
unique
andtrim
. Seevalidator.js
for registering custom keywords and the hook files in/hooks/
. - Added one-to-one relationship between
doors
andhardwares
indoors.schema.js
.doors
refer tohardwares
database.
-
Install your dependencies
cd path/to/my-app npm install
-
Start your app
npm run dev
Run npm test
and all your tests in the test/
directory will be run.
This app comes with a powerful command line interface for Feathers. Here are a few things it can do:
$ npx feathers help # Show all commands
$ npx feathers generate service # Generate a new Service
For more information on all the things you can do with Feathers visit docs.feathersjs.com.