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

Update README.md and CONTRIBUTING.md to add linting/formatting and prisma help #57

Merged
merged 4 commits into from
Aug 22, 2023

Conversation

willbeaumont
Copy link
Contributor

@willbeaumont willbeaumont commented Aug 19, 2023

Issue: #1, #11

Summary (1-2 sentences)

Adding references to our documentation on setting up linting and formatting. Also added some information about our prisma scripts. Please feel free to update/comment as desired. Hoping to save some time looking through discord to find info 😉

Details (reason and description of the changes)

  • CONTRIBUTING.md
    • Moved general info (meetup, discord, etc) about our project to README
    • Updated instructions to mention differences for those who are contributors in our repo
  • README.md - please add any links/list items I missed!
    • Updated top to talk about our project some
    • Added Helpful links - links to project resources
    • Added What we're using - list of the tech we're using
    • Linked to Contributing
    • Added Formatting and Linting - quick ref to our script and link to Andre's doc
    • Added Prisma - talked about the different db scripts. Check these for lies please 🫠

Sources (links that helped to resolve these challenges.)

Why is --require tsconfig-paths/register was added to the seed script? It's so you can import things using the ~ feature common to most Remix app setups. (link)

@vercel
Copy link

vercel bot commented Aug 19, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
plan-it-social-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 21, 2023 2:18pm

@willbeaumont willbeaumont changed the title [WIP] Update CONTRIBUTING.md to add linting/formatting and prisma help [WIP] Update README.md and CONTRIBUTING.md to add linting/formatting and prisma help Aug 19, 2023
@willbeaumont willbeaumont changed the title [WIP] Update README.md and CONTRIBUTING.md to add linting/formatting and prisma help Update README.md and CONTRIBUTING.md to add linting/formatting and prisma help Aug 19, 2023
@willbeaumont willbeaumont self-assigned this Aug 19, 2023
Copy link
Contributor

@andrelandgraf andrelandgraf left a comment

Choose a reason for hiding this comment

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

Thanks for doing this! :) Left some NIT comments.

README.md Outdated
- [Prisma](https://www.prisma.io/)
- [tailwindcss](https://tailwindcss.com/)
- [Typescript](https://www.typescriptlang.org/)
- [React18](https://react.dev)
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT:

Suggested change
- [React18](https://react.dev)
- [React 18](https://react.dev)

README.md Outdated
It is generally recommended to use a Git repository, because future commits will then automatically be deployed by Vercel, through its [Git Integration](https://vercel.com/docs/concepts/git).
- [MySQL](https://www.mysql.com/)
- [Prisma](https://www.prisma.io/)
- [tailwindcss](https://tailwindcss.com/)
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT:

Suggested change
- [tailwindcss](https://tailwindcss.com/)
- [Tailwind CSS](https://tailwindcss.com/)

README.md Outdated
- [Discord server](https://discord.gg/tTD7PvwpuX)
- [Figma wire-frame](https://www.figma.com/file/6e3cBuEHOIpWvqT31Zd29p/Social-Plan-it?type=design&node-id=0-1&mode=design&t=DpLSfRITCDDG1pj0-0)
- [github repo](https://github.com/social-plan-it/plan-it-social-web)
- [meetup](https://www.meetup.com/all-things-web-react-html-css-javascript-tutoring/)
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT:

Suggested change
- [meetup](https://www.meetup.com/all-things-web-react-html-css-javascript-tutoring/)
- [Meetup](https://www.meetup.com/all-things-web-react-html-css-javascript-tutoring/)

README.md Outdated
If you'd like to avoid using a Git repository, you can also deploy the directory by running [Vercel CLI](https://vercel.com/cli):
- [Discord server](https://discord.gg/tTD7PvwpuX)
- [Figma wire-frame](https://www.figma.com/file/6e3cBuEHOIpWvqT31Zd29p/Social-Plan-it?type=design&node-id=0-1&mode=design&t=DpLSfRITCDDG1pj0-0)
- [github repo](https://github.com/social-plan-it/plan-it-social-web)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
- [github repo](https://github.com/social-plan-it/plan-it-social-web)
- [GitHub](https://github.com/social-plan-it)

README.md Outdated
<img align="center" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSagMR3FC2rPHvoqZFjHunC5DkmFLdeNzok9d7P8OHW&s" width="50%" alt="Vercel" >

## Contributing - [look at our doc here](./CONTRIBUTING.md)
Copy link
Contributor

Choose a reason for hiding this comment

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

Should we move this section into the CONTRIBUTING.md file? What do you think?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah for sure, was trying to think of a way to direct people from the readme to the contributing markup. Not entirely sure if you have to tell people where to go or if they just know.

Copy link
Contributor

Choose a reason for hiding this comment

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

I would recommend we bundle all "Contribution" information in one place, so it's easier to find. This could be a section in the README or a standalone CONTRIBUTION document. If we have a separate document, I would refer to it in the README! :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok! I prefer less files. Happy to put back in if the group misses CONTRIBUTING.md


## Formatting and Linting

Please utilize our formatting and linting command `npm run lint`. Also included in our documentation, are great instructions on how to [setup this functionality to automatically run on save in VS code](./docs/formatting-and-linting.md).
Copy link
Contributor

Choose a reason for hiding this comment

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

Great! We will expand on this on Monday!

README.md Outdated

- `npm run seed:db` - [consistently create data by seeding](https://www.prisma.io/docs/guides/migrate/seed-database) data into our database. We have a slightly different setup than when is in the Prisma docs. We are using `--require tsconfig-paths/register` to use the `~` path feature in Remix ([ref: Kent C. Dodds](https://github.com/remix-run/blues-stack/issues/143#issuecomment-1515339235))

## Deployment
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this section can be removed. It describes how to deploy a new Remix project.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for sharing this explanation from Kent. That's good to know.

@willbeaumont
Copy link
Contributor Author

Thank you Andre for the comments, I've committed your suggestions!

- [Prisma](https://www.prisma.io/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Typescript](https://www.typescriptlang.org/)
- [React 18](https://react.dev)
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: Just "React" without pointing the verion.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd like to leave 18, it's a signal to any reviewing our project we're keeping up with the latest and greatest of React. Might be a moot point with our use of Remix.

- [Typescript](https://www.typescriptlang.org/)
- [React 18](https://react.dev)
- [Remix](https://remix.run/docs)
- [Vercel](https://vercel.com/)

Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: You might write all techs in alphabetical order to increase readability.

- [Typescript](https://www.typescriptlang.org/)
- [React 18](https://react.dev)
- [Remix](https://remix.run/docs)
- [Vercel](https://vercel.com/)

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's add:

README.md Outdated
- [MySQL](https://www.mysql.com/)
- [Prisma](https://www.prisma.io/)
- [Tailwind CSS](https://tailwindcss.com/)
- [Typescript](https://www.typescriptlang.org/)
Copy link
Contributor

Choose a reason for hiding this comment

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

NIT: TypeScript

- [Typescript](https://www.typescriptlang.org/)
- [React 18](https://react.dev)
- [Remix](https://remix.run/docs)
- [Vercel](https://vercel.com/)

Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure, maybe also:


1. If you're a contributor to the repo skip to `Step 2`
1. Join the group, check out the [Discord server](https://discord.gg/tTD7PvwpuX)!
2. Fork the repo
Copy link
Contributor

Choose a reason for hiding this comment

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

Probably we could recommend sharing a user's GitHub profile with Andre so that he can add them to the project.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd prefer leave this as a conversation for people to have when they join the discord. Maybe someone new takes that responsibility up in the future.


## Deployment
The group meets most Mondays 6pm PST ([meetup](https://www.meetup.com/all-things-web-react-html-css-javascript-tutoring/))
Copy link
Contributor

Choose a reason for hiding this comment

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

Can I leave jokes here? Sorry in advance)
And on most Saturdays at 9 am 😄


If you'd like to avoid using a Git repository, you can also deploy the directory by running [Vercel CLI](https://vercel.com/cli):
- [Discord server](https://discord.gg/tTD7PvwpuX)
- [Figma wire-frame](https://www.figma.com/file/6e3cBuEHOIpWvqT31Zd29p/Social-Plan-it?type=design&node-id=0-1&mode=design&t=DpLSfRITCDDG1pj0-0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps we should say that the request will be approved by @CamilingJS.

Copy link
Contributor

@shami-dev shami-dev left a comment

Choose a reason for hiding this comment

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

Thanks for making the project clearer for new contributors! Left some general and nitpicking comments.

@willbeaumont
Copy link
Contributor Author

Thank you for the comments and edits! I feel it's in a good place to merge. Let's get it out there and update as needed in the future.

Copy link
Contributor

@shami-dev shami-dev left a comment

Choose a reason for hiding this comment

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

Looks nice!

@willbeaumont willbeaumont merged commit dda56d3 into main Aug 22, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants