A progressive Node.js framework for building efficient and scalable server-side applications.
Nest framework TypeScript starter repository.
$ npm install
# 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
-
Implement Session base authentication using Spring Security.
-
Users should be able to change their password.
-
Add basic validation for user details during registration (e.g., email format, password complexity).
-
Implement a global exception handler for common exceptions, especially authentication and authorization-related exceptions.
Optional (for Bonus Points):
-
Allow users to maintain a personal collection of books. A user can add a book to their collection, remove books from their collection, or view their collection.
-
Implement a role-based access control system, where certain operations (e.g., deleting any book) might be restricted to users with an 'admin' role.
swagger run on http://localhost:4444/docs