ibtissammassa / Site-formation-ensa

https://site-formation-ensa.vercel.app
0 stars 1 forks source link

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;
// },

Backend schemas

User Schema

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 :