-
Notifications
You must be signed in to change notification settings - Fork 7
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
…out our projects and scripts
There was a problem hiding this 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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT:
- [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/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT:
- [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/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT:
- [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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- [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) |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
! :)
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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/) | ||
|
There was a problem hiding this comment.
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/) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add:
- [PlanetScale] (https://planetscale.com/)
README.md
Outdated
- [MySQL](https://www.mysql.com/) | ||
- [Prisma](https://www.prisma.io/) | ||
- [Tailwind CSS](https://tailwindcss.com/) | ||
- [Typescript](https://www.typescriptlang.org/) |
There was a problem hiding this comment.
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/) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure, maybe also:
- [Figma] (https://www.figma.com/)
|
||
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 |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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/)) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
There was a problem hiding this 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.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice!
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)
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)