As a content creator, I want a page where I can submit an image URL and Title so that my pictures can be viewed by the world.
Acceptance Criteria:
When a user navigates to the create posts page they are presented with a text field for the image URL, a text field for the post title and a submit button.
When a user enters a valid image URL and post title and clicks submit, the client submits a request to the API to create the post and notifies the user when the post is created successfully.
When a user enters an invalid image URL or post title (no content or white-space only) and clicks submit the fields will be marked as invalid and no request to the API is made.
When a post is failed to be created the UI does not indicate a post was created.
Task List:
[x] Create "Create Post" Component /Ari
[x] Component has a text field for an image URL /Cyrus
[x] Component has a text field for the post title. /Cyrus
[x] Component has a create button. /Ari
[x] Component notifies user of successful post creation. /Cyrus & Ari
As a content creator, I want a page where I can submit an image URL and Title so that my pictures can be viewed by the world.
Acceptance Criteria:
Task List: