OpenSourceFellows / open-source-mentorship

Inspiring the next generation of open source contributors and maintainers
https://www.notion.so/programequity/ProgramEquity-Open-Source-Fellows-5f4dfc06109842779b81e8166c056334
Creative Commons Zero v1.0 Universal
13 stars 0 forks source link

✍️ @Kendall's Blog : Learning PostgreSQL on the Fly: Building and Integrating Tables, Models, and Migrations Using Knex #45

Open ktrudickm opened 8 months ago

ktrudickm commented 8 months ago

📋 Title: Learning PostgreSQL on the Fly: Building and Integrating Tables, Models, and Migrations Using Knex

Requirements

Questions to consider:

Outline

  1. Introduction

    • Brief overview of the open source project and the specific issue/task undertaken.
    • Mention the unfamiliarity with PostgreSQL and the need to learn on the go.
  2. Getting Started with PostgreSQL

    • Experience delving into PostgreSQL documentation for the first time.
    • Discuss initial challenges and key takeaways from the documentation.
  3. Navigating the Codebase

    • Exploring the existing codebase to understand the context of the project.
    • How studying other tables in the codebase helped in guiding the process.
  4. Utilizing Knex for Database Migrations

    • Introduction to Knex and its role in managing database migrations.
    • Learning how to set up and use Knex to create tables and schema.
  5. Collaboration and Feedback

    • The importance of collaboration in an open source environment.
    • Working alongside other developers, seeking feedback on pull requests.
    • It's OK to ask for help!
  6. Lessons for First-Time Contributors

    • Encouraging other first-time contributors with practical advice.
    • Sharing insights gained from the learning process.
  7. Conclusion

    • Sometimes the best growth and learning comes from throwing yourself in unfamiliar waters.
    • Most things are not as difficult as we make them out to be.
    • Reinforcing the importance of continuous learning and adaptability in open source contributions.
  8. References

    • Postgres documentation
    • Knex documentation
    • Amplify github repo

📰 Blog Rough draft: Format into a google doc

Questions to answer across draft

  • Why is this helpful for a reader?
  • What problem does this help them solve?
  • What kind of experience should the reader have or that you will provide so they’re up to speed
  • What larger problem is this solving?
  • Were there other ways of solving this problem - what made you choose the one that you did?
  • What were the positive tradeoffs? (Did it save time? Save hours? Was more secure?)
  • What is the best way to present the content (i.e. code snippets, graphics) ?
  • What additional resources can they provide the reader if they want more information?
  • Is there a call to action?

To do: when you complete the requirements, add "draft ready" label on your issue

unnamedrd commented 8 months ago

Thanks @ktrudickm . When you get a chance update the ticket with your blog topic. I'm happy to take a look if you want

ktrudickm commented 8 months ago

@unnamedrd Where/how do I update the ticket with my topic? I was thinking of doing something along the lines of: Building a database table, model, and schema in Postgres without any prior Postgres experience.

Here is the title I was thinking of: "Learning PostgreSQL on the Fly: Building Tables, Models, and Migrations for an Open Source App"

ktrudickm commented 8 months ago

@unnamedrd Outline is ready! I am not sure how to add a new label.

unnamedrd commented 8 months ago

Thanks! @ktrudickm You can add a label by selecting the settings gear in the label section in the right panel of this screen, and select whichever one you want. In this case "outline"

Screenshot 2023-12-07 at 3 43 05 PM
ktrudickm commented 8 months ago

Okay thanks @unnamedrd! I'm not sure why, but the gear is not showing up for me.

ktrudickm commented 8 months ago

@unnamedrd @Alex-is-Gonzalez Here is my rough draft! https://docs.google.com/document/d/1KQ7V3yNg99XKal-f5J39BAh1-RPgtZ0hpyMt0oh8704/edit?usp=sharing

Feel free to add any feedback 😄

I also don't have the ability to add/change tags for this so if someone could change this to draft-ready that would be super helpful!

ktrudickm commented 8 months ago

@Alex-is-Gonzalez @unnamedrd Also, here is the completed medium post: https://medium.com/@ktrudickm/learning-postgresql-on-the-fly-building-and-integrating-tables-models-and-migrations-using-knex-07c4c942f062

unnamedrd commented 6 months ago

@ktrudickm not sure if you got a notification but there are some edits in there for you. :-)

ktrudickm commented 6 months ago

@unnamedrd thank you for the edits! I went ahead and revised the file. Here is the link to the Medium post: https://medium.com/@ktrudickm/learning-postgresql-on-the-fly-building-and-integrating-tables-models-and-migrations-using-knex-07c4c942f062