1.2.0 • Published 3 years ago

artesan v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

ACI

Node version: 12.13.0

  1. npm i
  2. clone the .env.example for create the .env
  3. create jwt secret, open node console a put this script and use the generate text for JWT_SECRET=
  console.log(require('crypto').randomBytes(256).toString('base64'))
  1. if you have mongo auth, create this vars DB_USER= DB_PASSWORD=

  2. create admin and veedor user, run this script in your console

node .\scripts\mongo\create-admin.js node .\scripts\mongo\create-veedor.js

  1. use the collections and enviroments of postman folder