Skip to content

Make create post available #17

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

Open
Equasa opened this issue Jan 19, 2025 · 0 comments
Open

Make create post available #17

Equasa opened this issue Jan 19, 2025 · 0 comments
Labels
good second issue Not necessarily the second issue but nice name

Comments

@Equasa
Copy link
Contributor

Equasa commented Jan 19, 2025

Before this can be done #16 needs to be done!

We want to be able to create posts from our website so create a form for this (see EventsForm.tsx). All the appropriate information should be able to be edited.

  1. Create the form and fix so that there is a button for this on the post page.
  2. Add the appropriate formfields where you take in data
  3. Make the post route using mutate (see EventsForm.tsx) OBS: don't forget const queryClient = useQueryClient(); in your application. Otherwise it won't work.
@Equasa Equasa added the good second issue Not necessarily the second issue but nice name label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good second issue Not necessarily the second issue but nice name
Projects
None yet
Development

No branches or pull requests

1 participant