day-cohort-70 / rare-api-superawesometeamname

rare-api-superawesometeamname created by GitHub Classroom
0 stars 0 forks source link

Create a Post #39

Closed Valerie-Freeman closed 3 months ago

Valerie-Freeman commented 3 months ago

As an author, I would like to be able to create Posts so I can share my thoughts with the world.

Given a user is in the app
When they select the New Post menu option Then they should be directed to a page with a form for creating a new post

Given the user has entered the relevant information for a Post When they click the Save button
Then the Post should be saved to the database
And the creation datetime should be automatically set to the current date and time
And the post should automatically be approved
And the user should be recorded as the author of the Post
And the user should be redirected to the new Post's details page

The "relevant information" for a Post is

Joealb75 commented 3 months ago

3