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

MentorCity V.1.1.0 #22

Merged
merged 72 commits into from
Dec 9, 2022
Merged

MentorCity V.1.1.0 #22

merged 72 commits into from
Dec 9, 2022

Conversation

Lizdev-05
Copy link
Collaborator

Hi there 👋🏻

Thanks for taking the time to review the project. Here are some things important to note about it:

Frontend Link

You can find the link for the frontend project pinkmoon25/Book_an_appointment_front_end#9

Now into the project...

This project was done following git-flow, for which we have different pull requests, each of them with specific information about each feature. You can refer to them below

Final notes 📔

Is expected that this project meets the requirements. Please let me know if anything is left to be done or can be improved. Again, thanks for the review.

Select attributes that are needed in JSON response
…ssosciations

Setup models controllers and assosciations
Copy link

@Meltrust Meltrust left a comment

Choose a reason for hiding this comment

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

Hi @Lizdev-05,

Good job so far!
There are some issues that you still need to work on to prepare your project for the final evaluation, but you are almost there!

To highlight:

  • APIis is working well✔️
  • Good readme ✔️

You are really close to finishing the Microverse program!! Keep it up! 👍👍👍

You can do it

After implementing the requested changes, please submit another review request. ♻️

Check the comments under the review.

I strongly recommend you take them into account as they can improve your final evaluation.

Cheers and Happy coding!👏👏👏

Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the previous reviews unless it is requested otherwise.


Comment on lines 1 to 5
class AddSubjectToReservations < ActiveRecord::Migration[7.0]
def change
add_column :reservations, :subject, :string
end
end
Copy link

Choose a reason for hiding this comment

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

  • For a new user, it is impossible to run the migrations. That is why it is never recommended to edit the migrations after they are already done:

image

Explanation

Your project runs well on your machine because the migrations have been already implemented. Even if the migration files have any new errors, your database is untouched.

For a new user who needs to apply the migrations for the first time, this is a whole different story. They will fail.

Remember that the final evaluator needs to be able to run the project without any hassle.

Tips and Extra help

Run this command: rake db:migrate VERSION=0. This will undo all the migrations. After that, you can apply one by one and skip the problematic one. The error message should give you a good idea of what is the problem.

Then, reseed the database and it will be fixed . 💪

Copy link
Owner

Choose a reason for hiding this comment

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

Hi @Meltrust , I have followed the above steps and redid the migrations 🙏

README.md Outdated
Comment on lines 128 to 134
### Run tests

To run tests, run the following command:

```sh
rspec spec/integration
```
Copy link

Choose a reason for hiding this comment

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

  • When I run your tests according to your instructions, I get this:

image

If your tests should not be run like that, kindly change the instructions. If one or more of your tests are failing, kindly fix them to ensure the integrity of your app.

Copy link
Owner

Choose a reason for hiding this comment

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

hi @Meltrust , I have added the correct steps to run tests

README.md Outdated
Comment on lines 196 to 200
## 📝 License <a name="license"></a>

This project is [MIT](./LICENSE) licensed.

<p align="right">(<a href="#readme-top">back to top</a>)</p>
Copy link

Choose a reason for hiding this comment

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

  • On the "License" section of your readme, the link is broken because it points to a file that does not exist in your project.

Tips and extra help

Go here, grab the MIT.md file from that repo, paste it on the root of your project, and link to it in the "License" section of your readme.

That way, your app will be well documented 💪

Copy link
Owner

Choose a reason for hiding this comment

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

Done 👍

@Meltrust
Copy link

Meltrust commented Dec 8, 2022

Hi @Lizdev-05,

Wow, you did it 🎉

Brilliant

Thank you for the changes implemented 💪 🥇 ㊗️

Unless you want to add more features, go ahead to your final presentation ⏩ ⏩ ⏩

You are about to finish the Microverse program. You have come a long way!!!

Good luck in the software industry!! I'll see you there. ✨

Congratulations!!!!!! 🎉

applause

To highlight

  • Migrations now work!✔️
  • Readme has been corrected✔️
  • API is working well✔️

Cheers and Happy coding!👏👏👏


@Lizdev-05 Lizdev-05 merged commit 838c8ec into main Dec 9, 2022
@pinkmoon25
Copy link
Owner

tHANK YOU @Meltrust 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants