Tag application endpoint, made in graphql with NestJs.
You can check the Documentation.
Frontend Code.
You can see a live preview in Backend EndPoint.
Note: to run the tests it is necessary to create the file ".env.test" with the same variables and different values (recommended), for correct operation.
NODE_ENV=development
PORT=3000
MONGO_DB_URI=mongodb://your-host/your-db
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test
# test coverage
$ npm run test:cov
You can initialize a defined number of tags with the InsertTags mutation
mutation InsertTags($nTags: Int!){
insertTags(nTags: $nTags)
}
- Author - Daniel Viloria
- LinkedIn - https://www.linkedin.com/in/daniel-viloria-perez-17434016b/