{"repo":"joshuaalpuerto/node-ddd-boilerplate","free":true,"listed":false,"github":"https://github.com/joshuaalpuerto/node-ddd-boilerplate","clone":"git clone https://github.com/joshuaalpuerto/node-ddd-boilerplate.git","description":"Node DDD Boilerplate","language":"JavaScript","stars":746,"topics":["nodejs","javascript","boilerplate-template","ddd-architecture"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Node DDD Boilerplate RESTful api with Domain Driven Design Development Environment Setup 1. Make sure you have nvm , node latest LTS version of node installed 2. Install pnpm - npm install -g pnpm . 3. Use a smart .npmrc . By default, npm doesn’t save installed dependencies to package.json (and you should always track your dependencies!). NOTE: If you encounter installation issues with bcrypt you need to install node-gyp first. If you update your node version to latest and you encountered compatibility issues: 1. Ensure that there is no pm2 runnign pm2 list (if there is kill the process) 2. You have to rebuild your bcrypt running this command npm rebuild bcrypt --update-binary Docker support Prerequisites 1. Docker Community Edition v17 or higher Access http://localhost: /api/ and you're ready to go! http://localhost:4000/api/v1 Docker CLI - yarn docker:db:reset - reset and run all migrations and seeders. - yarn docker:db:refresh - reset and run all migrations. - yarn docker:db:refresh-test - reset and run all migrations for test - yarn docker:test - refreshes test database and run unit and black-box testing. ...will add more Quick Start 1. Clone the repository with git clone --depth=1 https://github.com/joshuaalpuerto/node-ddd-boilerplate.git 2. Install the dependencies with Yarn 3. Install global dependencies Application Setup 4. Create the development and test Databases 5. Run database migrations and seed with yarn db:refresh 6. Run the application in development mode with","default_branch":null,"files":null,"tree":[],"storefront":"/r/joshuaalpuerto","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/joshuaalpuerto/node-ddd-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}