Implement user signup and signin functionality with password hashing, role assignment, and JWT token generation. Integrate promo code for initial balance adjustment, and handle unique credential errors.
Introduce the main.ts file to set up the NestJS application. This includes enabling CORS, configuring Swagger documentation, and setting up global validation pipes.