Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

peppapighs/cvwo-assignment-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CVWO Assignment 2022 - Task Management App

Name Matriculation number
Pontakorn Prasertsuk A0236560H

Final Writeup

Table of Contents
  1. About The Project
  2. Getting Started
  3. User Guide
  4. Contributing
  5. License

About The Project

Task Management App provides an online service for tracking your daily tasks which can be accessed across different devices with the user authentication system. The application works on both desktop and mobile phone.

(Back to top)

Built with

(Back to top)

Getting Started

This section provides a quick start guide for this project.

Prerequisites

  • yarn, ruby, sqlite3, rails: Please refer to Step 3.1 of this guide.
  • postgresql
    sudo apt install postgresql postgresql-contrib libpq-dev

Installation

  1. Start postgresql service
    sudo service postgresql start
  2. Configuring postgresql according to Step 1 of this guide.
  3. Clone the repo
    git clone https://github.com/PeppaPigHS/cvwo-assignment-2022.git
  4. Configuring config/database.yaml according to Step 4 of this guide.
  5. Install ruby packages
    bundle install
  6. Create local database
    rails db:create
  7. Start the application
    bin/dev
    The application can be access through localhost:3000

(Back to top)

User Guide

Navigating The App

Navigation Bar

The navigation bar contains links such as Sign up, Sign in, or Sign out, depending on whether you are signed in or not.

  • If not signed in, you should see a welcome message with links where you can sign in or sign up.
  • Otherwise, the home page will show the table containing your tasks and search menu.

Getting Started

New Users

  • Sign up for a new account here.
  • Fill in username, password, and password confirmation. Your username must be unique and please remember your username and password as there is no way to recover them.

Existing Users

  • Head over to the sign-in page here.
  • Once signed in, the app will automatically redirect you to the home page.

Managing Tasks

Adding New Task

  • Click "Add Task" (or the button with "+" sign for mobile user) at the bottom right corner of the screen or head over to this link.
  • Fill in the task details until satisfied.
  • You may choose to save, or cancel.
  • If you choose to save, the app will redirect you to the home page with your new task in the table.

Viewing, Editing, and Deleting Task

  • Click on the task you want to view, edit, or delete. The app will redirect you to the edit page containing the selected task's details.
  • Edit the details until satisfied.
  • You may choose to save, cancel, or delete the task at the end of the page.
  • If you choose to delete the task, a confirmation will pop up. You may choose to cancel the deletion or proceed.

Searching Tasks

  • Click on the search menu at the top of the task table in the home page.
  • The form will pop up where you can optionally provide filters including title keywords, description keywords, status, and tags.
  • You may choose to search the tasks according to the provided filters, or reset the filters.

Contributing

If you have a suggestion that would make this better, please fork the repo and create a pull request.

(Back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(Back to top)