This README would normally document whatever steps are necessary to get the application up and running.
Things you may want to cover:
-
Ruby version
- 2.7.1
-
Database creation
- bin setup
-
How to run the test suite
- rails test:all
-
Services (job queues, cache servers, search engines, etc.)
-
Deployment instructions
- clone git repo
- run
bin/setup
- run
rails s
- whenever --update-crontab
- done
- Cost accepting 0 and negative values, any chars (Solved)
- Cost presence check (Solved)
- Weight accepting 0 and negative values, any chars (Solved)
- Parcels#update throws an error, when any validation fails (Solved)
- while creating parcel sender and receiver cannot be the same, backend validation (Solved)
- Mobile Number validation (Solved)
- Email validation (Solved)
- Cant update users (Solved)
- User destroy feature should be implemented as one of the below (Solved with point 2)
- Should not be able to destroy user if any parcel exists for this user
- implement is_deactivated for user table (Implemented this solution from a better product perspective)
- If any user is deactivated and the user has many parcels, then all the parcels will show (Deactivated) text in the sender/receiver column
- implement dependent_destroy
- Create tracking id feature for every parcel (Solved)
- Send mail feature (no smtp server setup)
- Search via tracking id (Solved)
- N+1 query problem in List addresses (Solved)
- N+1 query problem in List parcel (Solved)
- Fixed all the testcases and updated exsiting and added new cases
- Sign Up/Login module (Done)
- Authorization module for admin only actions (is_admin column)
- Other user actions
- Search parcel should be publicly accessible (Done)
- Admin user can update status of parcel (Done)
- On every update of status the email should be sent to the user (Done)
- Create a new route for reports (Done)
- Create a report every 12:00 am and save it to a db (Done)
- Editing parcel should not be able to change sender and receiver
- search feature in sender and receiver id while creating parcel, so that all the user will not be directly listed
- Pagination can be applied on all listing pages
- Additional bugs might have introduced by adding features