Nadaabuzaid
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Graduation Project [App Design](https://www.behance.net/gallery/141008337/Todopus-Not-Just-a-Project-Management-App?tracking_source=search_projects%7Cproject%20management%20web%20app) # Question: ## get specific project GET/project/:id | get single project | yes | checkAuth | params.id | { data: {id, name, description, admin, members, sections}, message } & status(204) | server error? 500 ---- Routes - [ ] signin - [x] signup - [x] getProjects - [ ] addProject - [ ] editProject - [ ] deleteProject - [ ] getproject/:id - [ ] Get Sections Route - [ ] Add Section Route - [ ] Edit Section Route - [ ] Delete Section Route - [x] Get Tasks Route - [ ] Add Task Route - [ ] Edit Task Route - [ ] Delete Task Route ---- ## User Story: 1. As a user I can: - [ ] Browse the landing page. - [ ] Register to the web application. - [ ] Login to the web application. - [ ] Logout from the web application - [ ] Verify my account by verification code on (Email or SMS). - [ ] Add a new project (Workspace). - [ ] Add a new section (List) in my project. - [ ] Edit any section (List) in my project. - [ ] Delete any section (List) in my project. - [ ] Add a new task in sections. - [ ] Edit any task in any section. - [ ] Delete any task in any section. - [ ] Select the task status (To Do, In Progress, Done, etc...). - [ ] Move any task or section in my project (Drag & Drop). - [ ] Filter my tasks in the project. - [ ] Show any activity from any member in the project. - [ ] Show project I am (admin or member) on it. - [ ] Show my tasks in all projects. - [ ] Show my profile page. - [ ] Show any user profile page. - [ ] Deactivate or Activate my account. - [ ] Edit my profile page. 2. As a admin I can: - [ ] Add member to my project. - [ ] Delete member from my project. - [ ] Edit member Role (Viewer, Editor, Admin). ## Backend Routes ## Signup Route Title: POST/signup labels: Back - Route Description: create user account Protected: No Required middleWares: No #### Request body { email, username, password } #### Response Successs : {data, message: 'Account Created Successfully'} & status: 201 Failure: {message} & status: 400 // Bad Request {message} & status: 401 // validation fails #### Errors email exist? 409 wrong password? 401 invalid email? 400 #### Schema { email: string() .email() .required(), username: string() .min(3) .max(20) .required(), password: string() .min(8) .required() } #### Tests all our status code 201 => success 400 => bad request 'invalid email' 401 => wrong password 409 => Conflict (Email exist) ## Signin Route Title: POST/signin labels: Back - Route Description: Login user account Protected: No Required middleWares: No #### Response: Successs : {data: {email, username} , status: 200, message: 'Logged in Successfully'} Failure: {message: 'invalid email, email doesn't exist, status: 400} // Bad Request {message: 'Wrong password', status: 401} // validation fails #### Errors email not exist? 400 wrong password? 401 #### Request body: { email: 'y', password: 'z' } #### schema { email: string() .email() .required(), password: string() .min(8) .required() } #### Tests: all our status code 200 => success 400 => bad request 'invalid email' 401 => wrong password ## verifiation ## Get Projects Route Title: GET/projects labels: Back - Route Description: Get all user projects Protected: Yes, signed in only Required middleWares: check auth #### Response: Successs : {data: {name, id} , status: 200}, {data , status: 204} // No projects Failure: {message: 'Server Error', status: 500} #### Errors server Error? 500 #### Tests: all our status code 200 => success 204 => no projects 500 => server error ## Add Project Route Title: POST/project labels: Back - Route Description: add project Protected: Yes, signed in only Required middleWares: check auth #### body: {name, description}, userId from cookies #### Response: Success: { data: {id, name}, message } #### Errors server Error? 500 ## Edit Project Route Title: PUT/project/id labels: Back - Route Description: Edit project Protected: Yes, signed in only Required middleWares: check auth #### Response: Successs : {data: {name, id} , status: 200}, {data , status: 204} // No projects Failure: {message: 'Server Error', status: 500} #### Errors server Error? 500 ## Delete Project Route ## Single Project Route ## Get Sections Route ## Add Section Route ## Edit Section Route ## Delete Section Route ## Get Tasks Route Title: GET/tasks labels: Back - Route Description: Get all tasks to the user Protected: Yes Required middleWares: check auth Request body:none Response Success: { data: {tasks}, message } & status: 200&204 Failure: {message: 'Server Error'} & status: 500 Errors server Error? 500 ## Get All Tasks In Specific Section Title: GET/tasks/:id labels: Back-Route Description: Get all tasks in a specific section Protected: Yes Required middleware: check auth Request body: sectionId: params.id Response Success:{ data: { id, name, description, priority, endDate, status}, msg } & status(200, 204) Failure: {message: 'Server Error'} & status: 500 Errors server Error? 500 ## Add Task Route ## Edit Task Route ## Delete Task Route ``` .env file // Database Links DB_URL_DEV=postgres://taskillo:123456@localhost:5432/taskillo // Twilio Variables TWILIO_ACCOUNT_SID=ACae5dcdfbed9ab509b91589cac89f4de3 TWILIO_AUTH_TOKEN=a8c13fb38df20aef471a62aee17e1f7d TWILIO_VERIFY_SERVICE_SID=VA2c42c4cdcf3c7a12dce262253ff2243c // Cloudinary Variables CLOUDINARY_NAME=ds6c49pi2 CLOUDINARY_API_KEY=236528739687218 CLOUDINARY_API_SECRET=caNu9CoENkohsTD8Z4gC4SQf0Ss // Tool For Tests TOKEN=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MywidXNlcm5hbWUiOiJhbXJhbk1hc3JpIiwiaWF0IjoxNjUyMjA5OTY3fQ.dSmJcF9jnUEjc1d7JR9qKl-p97K4_boZJQ6LnzvFG90 SECRET_KEY=amran@ww2345 email: amran@gmail.com password: 222222222 ```

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully