VITE_BASE_URL='http://127.0.0.1:3001'
npm i npm run dev
i use MongoDB Compass
mongoose.connect("mongodb://127.0.0.1:27017/crud", { useNewUrlParser: true, useUnifiedTopology: true, });
add your link db
npm i npm run dev
remove node_modules, package-lock.json in folder you cant start the project
npm i npm run dev
Create simple users CRUD and events relation. On main page, need display table of all created users, table should represent all user records, with count of all events and date when next user event starting. When I click on userName in table I should see user profile page with user info and all related events. On user profile page I should be able create events for this user.
Then I see table with created users and columns (UserName, Email, PhoneNumber, Events Count, Next Event Date)
Then I see user profile page with button “Create Event” and table with all created events for this user.
When I creating event for time where I have already have other events need display validation msg - ‘You can’t create event for this time’
When I visit main page of application then I see table with all created users columns (UserName, Email, PhoneNumber, Events Count, Next Event Date)
All the lists should have paginations and sorting by fields
Login/Sign Up/Log Out
Use github for storing projects