create-backend-ddd
v2.1.0
Published
A CLI to build a template for backend with in nodejs
Downloads
21
Readme
create-backend-ddd
A CLI built in Node.js, to automate the process of creating a rest api with DDD architecture
Features
✓ Support for MySql and PostgreSQL
✓ Sequelize(Mysql, Postgresql) Support
✓ Express Ready for Promises (Async / Await)
✓ Example Endpoint
✓ Fully configured enviroment variables
✓ Scaffolding
✓ DDD architecture
✓ Docker compose
✓ JWT
✓ Awilix
✓ IOC(Inversion of Control)
Usage
Use directly with npx (npx comes installed with npm)
npx create-backend-ddd
Screenshot:
To run the project :
✓ Install docker and then run : docker-compose -f stack.yml up -d
✓ Run the command : npm run start-project
✓ Finally test the endpoints , for this example the api endpoint start with /api/.. . For example /api/test ,/api/verify,etc. You can find the endpoints in "routes/test.route.js" folder which its is inside of the folder called "api".