Giter Club home page Giter Club logo

tw-app's Introduction

tw

tw-app's People

Contributors

suleyunus avatar

Watchers

James Cloos avatar  avatar

tw-app's Issues

Employees can delete their gifs post

Business/User Value:

As an employee, I should be able to delete my gifs post so that I can have it removed from the internal social network app

Acceptance Criteria:

GIVEN an existing gif post
WHEN an employee with owner rights deletes the article
THEN the gif should be deleted
AND the employee should see a successful message

GIVEN an existing gif post
WHEN an employee without owner rights deletes the gif post
THEN the gif should not be deleted
AND the employee should see an error message

GIVEN a non existent gif post
WHEN an employee tries to delete the gif
THEN the employee should see an error message

Employees can edit their articles

Business/User Value:

As an employee, I should be able to edit my articles so that I can correct any mistakes or add any updates

Acceptance Criteria:

GIVEN an existing article
WHEN an employee with owner rights makes an edit
THEN the article should be updated
AND the employee should see a successful message

GIVEN an existing article
WHEN an employee without owner rights makes an edit
THEN the article should not be updated
AND the employee should see an error message

Employees can view a specific article

Business/User Value:

As an employee, I should be able to view a specific article, so that I can be able to engage more with it

Acceptance Criteria:

GIVEN an existing article
WHEN an employee requests for the article
THEN the employee should be able to view the article
AND receive a successful message

Employees can write and post articles

Business/User Value:

As an employee, I should be able to write and post articles so that I can share engaging content on the internal social network app

Acceptance Criteria:

GIVEN an employee
WHEN an employee writes and posts an article
THEN the article should save
AND the employee should see a successful message

Employees can comment on other colleagues' article post

Business/User Value:

As an employee, I should be able to comment on other colleagues' article post so that I can engage with them on their content

Acceptance Criteria:

GIVEN an article
WHEN an employee adds a comment
THEN the comment should be added to the article
AND the employee should see a successful message

Admin/Employees can sign in

Business/User Value:

As an admin/employee, I should be able to login to the internal social network so that I can interact with my colleagues

Acceptance Criteria:

GIVEN a registered admin/employee
WHEN the admin/employee provides their login credentials
THEN the admin/employee should be successfully logged in
AND receive a 200 OK response

GIVEN a non-registered user
WHEN the user provides login credentials
THEN the user should fail to log in
AND receive a 400 BAD REQUEST response

Employees can view all articles that belong to a category (tag)

Business/User Value:

As an employee, I should be able to view all articles that belong to a category, so that I can engage with content from a category of my interest

Acceptance Criteria:

GIVEN an existing category
WHEN an employee requests for that category
THEN the employee should view all articles from that category
AND the employee should see a successful message

Employees can flag a comment, article and/or gif as inappropriate

Business/User Value:

As an employee, I should be able to flag a comment, article or gif as inappropriate, so that appropriate action can be taken to have the issue solved.

Acceptance Criteria:

GIVEN an inappropriate article, comment or gif
WHEN an employee flags it as inappropriate
THEN it should be marked as inappropriate
AND the employee should see a successful message

Project setup

Description:

The project should be up and running to ensure development starts

Acceptance Criteria:

Running node server.js spins up the development server

Employees can post gifs

Business/User Value:

As an employee, I should be able to post gifs so that I can provide engaging content to the internal social network app

Acceptance Criteria:

GIVEN an employee
WHEN an employee posts a gif
THEN the gif should be saved
AND the employee should receive a 200 OK response

Employees can view a specific gif post

Business/User Value:

As an employee, I should be able to view a specific gif post, so that I can be able to engage more with it

Acceptance Criteria:

GIVEN an existing gif post
WHEN an employee requests for the gif post
THEN the employee should be able to view the gif post
AND receive a successful message

Admin can create an employee user account

Business/User Value:

As an admin, I should be able to create an employee user account so that an employee can gain access to the internal social network

Acceptance Criteria:

GIVEN an employee
WHEN an admin creates an employee user account
THEN a new user account should be created

Set up postgres and the database

Description:

The project should be set up to use postgres and the databases created

Acceptance Criteria:

Running node db createAllTables sets up the database and the required tables

Admin can delete a comment, article and/or gif flagged as inappropriate

Business/User Value:

As an admin, I should be able to delete a comment, article or gif, so that the internal social network can adhere to community guidelines

Acceptance Criteria:

GIVEN an inappropriate comment, article or gif
WHEN an admin deletes it
THEN it should be removed
AND the admin should see a successful message

Employees can comment on other colleagues' gif post

Business/User Value:

As an employee, I should be able to comment on other colleagues' gif post so that I can engage with them on their content

Acceptance Criteria:

GIVEN a gif post
WHEN an employee adds a comment
THEN the comment should be added to the gif
AND the employee should see a successful message

Employees can delete their articles

Business/User Value:

As an employee, I should be able to delete my article so that I can have it removed from the internal social app

Acceptance Criteria:

GIVEN an existing article
WHEN an employee with owner rights deletes the article
THEN the article should be deleted
AND the employee should see a successful message

GIVEN an existing article
WHEN an employee without owner rights deletes the article
THEN the article should not be deleted
AND the employee should see an error message

GIVEN a non existent article
WHEN an employee tries to delete the article
THEN the employee should see an error message

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.