Skip to content

This is a simple task management application built with Angular and Node.js

License

Notifications You must be signed in to change notification settings

thusithanuwan/taskify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

T A S K I F Y

Description

Taskify is a web application that empowers users to efficiently manage their tasks. Taskify is built using a modern tech stack, combining the power of Node.js, Express, TypeScript, and MySQL for the backend, and Angular, Bootstrap, and TypeScript for the frontend.

Tech Stack

Frontend

Angular  Bootstrap  HTML5  CSS3  TypeScript  NPM

Backend

NodeJS  Express.js  TypeScript  NPM

Releases

The first release of Taskify is named "Taskify v1.0.0 - "Initial Launch". You can find it in the following link: Taskify v1.0.0 - "Initial Launch"

Getting Started

Prerequisites

  • Ensure that you have Node.js and npm installed on your local machine.
  • Set up a MySQL database with the required configurations.

Installation

  1. Clone the repository to your local machine:
$ git clone https://github.com/thusithanuwan/taskify.git
  1. Navigate to the project directory:
$ cd ./taskify
  1. Install the dependencies for both the backend and frontend:
$ cd ./backend
$ npm install
$ cd ./frontend
$ npm install
  1. Create a .env file in the backend directory and set the following environment variables:
host=<your_mysql_host>
port=<your_mysql_port>
database=<your_mysql_database>
username=<your_mysql_username>
password=<your_mysql_password>
connection_limit=<your_mysql_connection_limit>

Database Setup

  1. Ensure you have MySQL installed and running.
  2. Create a new database in MySQL with the name specified in the database environment variable.
  3. Execute the following SQL query to create the task table:
CREATE TABLE task (
  id INT AUTO_INCREMENT PRIMARY KEY,
  description VARCHAR(255) NOT NULL,
  status ENUM('COMPLETE', 'NOT_COMPLETED') DEFAULT 'NOT_COMPLETED'
);

Usage

  1. Start the Node.js backend server.
$ cd backend
$ npm start
  1. The backend server will be running on http://localhost:3000.
  2. Start the Angular frontend application.
$ cd frontend
$ npm start
  1. The frontend application will be accessible on http://localhost:4200.

API Endpoints

For detailed information on how to interact with the Taskify API, refer to the API Documentation

Screenshot

Screenshot from 2023-08-05 01-00-24

Screenshot from 2023-08-05 00-59-51

License

This project is licensed under the MIT License. Feel free to use and modify the code as per the terms of the license

Contact

If you have any questions or feedback, please feel free to reach out:

Thank you for visiting this repository! If you find it helpful or inspiring, don't forget to leave a star ⭐️. Happy coding!