Published on 01/05/2024
Published by Pratik Takle
Basic Assignment
- Now if you have learned the Awesome Enterprise, then go ahead and build this app.
- It should not take more than 16 hours to build it.
- Create App
- Create an app on
test.wordpoets.com
named “poetry”. - If poetry is already there then create an app appending your name e.g.: “poetry-xyz”.
- As per your app name, your links will get changed, currently, all mentioned links correspond to app = poetry (https://test.wordpoets.com/poetry).
- Add config, modules and pages as per needed.
- Create an app on
- There are two types of users
- Admin – Site Owner (Only this user can add/edit/delete Poems)
End User – Visitors
- Admin – Site Owner (Only this user can add/edit/delete Poems)
- Admin User Flow (https://test.wordpoets.com/poetry/manage-poems):
- Upon logging in, the admin user is directed to the dashboard.
- The dashboard displays a list of all previously created poems, sorted by publication date with the newest ones appearing first.
- Each entry in the list includes the title of the poem and the date it was published.
- Clicking on any poem title redirects the admin user to the edit page for that specific poem.
- An “Add new” button is available for the admin user to create a new poem. (https://test.wordpoets.com/poetry/add-poem)
- The poem creation page features title and description boxes for inputting the new poem’s details.
- A WYSIWYG editor is provided for composing the poem.
- If you know about form controls, use form controls for the title and content field.
- End User Flow (https://test.wordpoets.com/poetry):
- Upon visiting the URL, end users are presented with the latest published poems, with the newest ones displayed first.
- Each poem entry includes its title and a brief excerpt (approximately 50 words) of the poem’s content, along with a “read more” link.
- Clicking on either the “read more” link or the poem title directs the user to a single-page view (https://test.wordpoets.com/poetry/{post_id}).
- The single-page view displays the full title of the poem along with the complete text of the poem.
- End users are given the ability to leave comments on the poem, providing an interactive element to engage with the poetry content.