Skip to content

Conversation

@adilkabbariBVC
Copy link

The /posts/new page is implemented as a dedicated route, separate from /posts as required by the task and can be accessed via http://localhost:3000/posts/new

Adds a new page at /posts/new

Includes a form with title and description

Submits to backend /posts endpoint

Redirects to the new post on success

Displays errors (e.g. "Title cannot be blank") on failure

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.

1 participant