Code Monkey home page Code Monkey logo

todoback's People

Contributors

roge530 avatar

Watchers

 avatar

todoback's Issues

Read activities

As a user
I need a way to see my activities
So that I can track what I register

Details and Assumptions

  • We should return a JSON with the activities
  • We get the id from the request in order to seek the user

Acceptance Criteria

Given a logged user
When he access /Dashboard
Then he should see his activities listed

Delete activity

As a User
I need a way to delete activities
So that remove old or irrelevant activities

Details and Assumptions

  • We receive the the user´s ID and the activity ID

Acceptance Criteria

Given a logged user
When a user confirm the deletion of an activity
Then the database should remove the activity from the user

Update activity name

As a User
I need a way to update activity´s name
So that I could correct misspelled activities

Details and Assumptions

  • We receive the email, the new name and the activity ID

Acceptance Criteria

Given a logged user
When the user sends the updated name
Then the activity should be updated on the database

Update activities status

As a user
I need a way to set activity´s status
So that I can track finished activities

Details and Assumptions

  • Activities has the following status: new, doing, done
  • We get the ID activity and the email of the user

Acceptance Criteria

Given a logged user
When the user change the status of an activity
Then the data of the activity should update

Controllers

Falta crear carpeta de controladores y separar la logica del controlador de la ruta

Middleware

As a server
I need a way to grant access to logged users
So that they use the activities

Details and Assumptions

  • We already give a token to the user after they log in

Acceptance Criteria

Given a user log in
When he access to /Dashboard
Then he can use the activities section

Create activities

As a user
I need a way to register my activities
So that I can track them

Details and Assumptions

  • Activities should be stored in the user document
  • Activities could be store in a list or array
  • Activities have a name and a status
  • The API gets the id associate to the user

Acceptance Criteria

Given a logged user
When send an activity from the form
Then the activity should be stored in the database

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.