globe-and-citizen / gc-web

Globe & Citizen : The company Website
http://globeandcitizen.com/
2 stars 1 forks source link

GC-Web Blog CRUD API #18

Open stravid87 opened 3 weeks ago

stravid87 commented 3 weeks ago

Motivation The Celebrity Fanalyzer team is moving on without us. Therefore, Layer8 needs a platform on which it can iterate and to which we can invite users to see. If we, as a team, have control over the entire workflow of this project, it will enable rapid iteration and learning of the Layer8 encrypted tunnel. In order to accomplish this, we are going to rebuild GC-Web as a PWA that works through Layer8.

Description The blog posts at the bottom of the company website need a CRUD API written in NodeJS an that are hosted / saved by us (currently these are just links to dev.to). Image

Considerations

  1. The input page should be it's own Vue with no page load.
  2. There is no need for picture uploads at this time.
  3. A blog post is only Title, Author, Date, Content/Body
  4. Frontend: only base, base, base formatting / CSS is necessary on the .Vue's
  5. All network requests must go through Layer8

Acceptance Criteria

  1. Any user can CRUD a blog post. There is no need to log in at this time. (Login coming next)
  2. When a user creates a blog post, they see it saved.
  3. A user can view a blog post by clicking on it.
  4. ANY user can CRUD ANY blog post (for now).
  5. [UPDATED SEPT 25] Please add a picture upload where users add a photo to their "blog" post fom their file system (soon to be their phone).

User Stories As a reader / visitor I want to read one of the blog posts at the bottom of the page When I click on the blog post I see a .Vue that shows me the content

As a user / visitor I want to add a blog post When I click the "Add Blog Post" button I see a modal that allows me to save / update a blog post

As a user / visitor I want to delete a blog post When I click the "Delete Blog Post" button I see that the blog post is deleted.

stravid87 commented 3 days ago

UPDATE Please add a picture upload section where users can upload a picture from their file system (soon to be their phone). This should be represented on the card of each image.

CRITERIA: Upload occurs through Layer8interceptor

BONUS: Add a simple minification script to ensure to mega large uploads.