This is a simple to do list application that allows the user to create, read, update and delete tasks using loopback 3 for the backend connected to a PostgreSQL database and Ember.js for the frontend.
-
Use the 'Add a new task' box to add Tasks in to your to do list. Title and Status are compulsory field while description and dueDate are optional
In the example given above, a new task Math Homework is being added to the to do list with the description chapter 3 question 4-7, status todo and dueDate 12-31-2023.
-
Use the 'Update an existing task' box to update Tasks in your to do list. use the ID field to specify which Task to update, and add the change to whichever field you want to change.
In the example given aboce, the id of the task with id 27 is being updated to be completed. The rest of the fields will not be changed.
###Environment Information
ember-cli: 4.6.0 node: 12.16.2 loopback: 5.2.0 PostgreSQL: 14.10 (Homebrew)
- Clone the repository:
git clone https://github.com/aarontxz/Task-Manager.git
- set up a PostgreSQL database using `createdb db'
- create a table called task using
CREATE TABLE task ( id SERIAL PRIMARY KEY, title VARCHAR(255) NOT NULL, description VARCHAR(255), status VARCHAR(255) NOT NULL, due_date DATE );
- Navigate to the backend directory:
cd loopback
- Install dependencies:
npm install
- edit the datasources.js file in the server folder accordingly to the PostgreSQL database you created.
- Run the server:
node .
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Run the application:
ember serve
- the application will be running on:
http://localhost:4200/
- Currently there is no output box that tells the user what is the issue if there is an error, eg (attempt to create a task without title)
- dueDate field cant be removed once it has been added and can only be updated