Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create all the models #13

Merged
merged 51 commits into from
Dec 2, 2023
Merged

Create all the models #13

merged 51 commits into from
Dec 2, 2023

Conversation

katarighe
Copy link
Owner

@katarighe katarighe commented Dec 1, 2023

In this activity, I have done all the following activities:

  • Created all the following models
  1. User

    • Name
    • Email
    • Password
    • Role
    • Relationships (has_one_attached_image & has_and_belongs_to_many :appointments)
  2. Doctors

    • Name
    • City
    • Specialization
    • Cost_per_day
    • Description
    • Relationships (has_one_attached_image? & has_and_belongs_to_many :appointments)
  3. Appointments (Adjoint table)

    • user_id
    • doctor_id
    • date_of_appointment
  • Execute db:create

  • Execute db:migrate

  • Execute db:seed

  • Installed additional gems:

    • RSpec-rails
    • Selenium-webdriver
    • Devise
    • Mailer
    • Cancancan
    • Bullet
    • JWT
    • Rubocop
    • Faker
    • Factory-bot
    • Swagger-UI
    • Controller-testing
    • Activate the CORS gem to allow cross-platform requests from our front-end
    • Capybara
    • Note store images in a folder
    • ffi
    • activestorage

@katarighe katarighe added the enhancement New feature or request label Dec 1, 2023
@katarighe katarighe linked an issue Dec 1, 2023 that may be closed by this pull request
1 task
Copy link
Collaborator

@ANTOINE1128 ANTOINE1128 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wow, you did it 🎉
Brilliant

Your project is complete! :shipit:
Congratulations! 🎉

To highlight
great job on creating the models ✔️
installing all the dependencies ✔️

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.

Cheers and Happy coding!👏👏👏

@katarighe katarighe merged commit 65a811e into dev Dec 2, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[1.5pt] Create all the models
2 participants