Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ankurdotio/testdog
/ types & classes
Types & classes
28 in github.com/ankurdotio/testdog
⨍
Functions
120
◇
Types & classes
28
Class
src/controllers/auth.controller.js:9
Class
src/controllers/product.controller.js:5
Class
src/controllers/cart.controller.js:5
Class
src/controllers/user.controller.js:4
Class
src/utils/appError.js:5
Class
src/services/product.service.js:5
Class
src/services/user.service.js:13
Class
src/services/cart.service.js:6
Class
src/services/payment.service.js:11
Class
src/dao/payment.dao.js:4
Class
src/dao/cart.dao.js:7
Class
src/dao/product.dao.js:7
Class
src/dao/user.dao.js:7
Class
src/config/redis.js:9
Class
AppError
* Custom AppError class to standardize error handling. * Can be thrown anywhere in the code to trigger error middleware.
src/utils/appError.js:5
Class
AuthController
src/controllers/auth.controller.js:9
Class
CartController
src/controllers/cart.controller.js:5
Class
CartDAO
* Data Access Object for Cart operations. * Handles all direct interactions with the Cart collection.
src/dao/cart.dao.js:7
Class
CartService
src/services/cart.service.js:6
Class
PaymentDAO
src/dao/payment.dao.js:4
Class
PaymentService
src/services/payment.service.js:11
Class
ProductController
src/controllers/product.controller.js:5
Class
ProductDAO
* Data Access Object for Product operations. * Handles all direct interactions with the Product collection.
src/dao/product.dao.js:7
Class
ProductService
src/services/product.service.js:5
Class
RedisService
* Redis service class * Using ioredis package for Redis operations
src/config/redis.js:9
Class
UserController
src/controllers/user.controller.js:4
Class
UserDAO
* Data Access Object for User operations. * Handles all direct interactions with the User collection.
src/dao/user.dao.js:7
Class
UserService
* Service class for handling user-related business logic.
src/services/user.service.js:13