menshop backend
1.0.0
เฟรมเวิร์ก Progressive Node.js สำหรับการสร้างแอปพลิเคชันฝั่งเซิร์ฟเวอร์ที่มีประสิทธิภาพและปรับขนาดได้ (CRTL + Shift + V)
Nest Framework TypeScript Starter Repository
$ node 18.19.1
$ redis 5.0.14$ npm install
$ redis-server # development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod # unit tests
$ npm run test
# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov # master is default
$ git checkout master
# dev1 for user, auth, role, permission
$ git checkout dev1
# dev2 for product, sku, inventory, price,
$ git checkout dev2
# dev3 for shop, collection, brand, category, need
$ git checkout dev3
# dev3 for cart, purchase, discount
$ git checkout dev4 # guide to write a apache-benchmark-testing command
$ ab: run Apache benchmark
$ -n: number of requests
$ -c: number of concurrency (lượng users đồng thời gửi requests)
$ -H: custom-header
$ -T: content-type
$ -p: include-body
# example on CMD
>> ab -n 100 -c 100 `
>> -H " Authorization: Bearer X.ACCESS.TOKEN.DEMO.X " `
>> -T " application/json " `
>> -p ./test/apache/checkout.body.json `
>> http://localhost:8044/api/v1/client/orders/make-paymentตรวจสอบทรัพยากรบางส่วนที่อาจมีประโยชน์เมื่อทำงานกับ NestJS:
Nest เป็นโครงการโอเพ่นซอร์สที่ได้รับอนุญาตจาก MIT มันสามารถเติบโตได้ด้วยผู้สนับสนุนและการสนับสนุนจากผู้สนับสนุนที่น่าทึ่ง หากคุณต้องการเข้าร่วมพวกเขาโปรดอ่านเพิ่มเติมที่นี่
Nest ได้รับใบอนุญาต MIT