Docker config (add this to the next.config.mjs if the changes are not shown)
// webpackDevMiddleware: (config) => {
// // Solve compiling problem via vagrant
// config.watchOptions = {
// poll: 1000, // Check for changes every second
// aggregateTimeout: 300, // delay before rebuilding
// };
// return config;
// },
User {
id: string,
firstname: stirng,
lastname: string,
cin: string,
phone number: string,
email: string,
passwordhash: string,
role: string,
}
Users are website users that have an account, there are 4 types of users :