/march

Typescript - Nest.js - TypeORM

Primary LanguageTypeScript


Tasko – NestJS Task Management System


License: GPL v3

Tasko is a simple yet powerful Task Management system developed using NestJS.

This project aims to provide an easy way to manage tasks and their respective assignees. It includes a robust authentication system, and uses SQLite as the database backend.

🚧 Tasko is a minimalistic solution, suitable for personal projects and learning purposes!


🛠 Operating Principle

Tasko provides APIs to create, update, delete and fetch tasks. It also includes user management and authentication features.

The project uses TypeORM to interface with the SQLite database, and Passport.js for authentication (JWT strategy).

🚧 You are responsible for securing your own deployment!


🔥 Installation

Clone this repository to your local machine:

git clone https://github.com/yourusername/tasko.git

Install the required packages:

npm install

🎉 Usage

You should start by running the NestJS server:

npm run start

Then you can access the APIs at localhost:3000.


User Management

You can register a new user by sending a POST request to /auth/signup with the following body:

{
  "name": "username",
  "email": "email@example.com",
  "password": "yourpassword"
}

Task Management

You can manage tasks by using the /tasks endpoint.

Authentication is required for these operations. You can get a JWT by sending a POST request to /auth/signin.

💡 Check out the controllers and services directories for more details about the endpoints!