Skip to content

Vedant1202/to-do-task-manager-adonis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TO-DO TASK MANAGER

A to-do task manager application based on AdonisJS backend with functions to add, update, remove tasks. User login functionality has been implemented. Login sessions based on JWT (JSON Web Token) authentication strategy. Tokens are encrypted using RSA based private-public key mechanism.

Features

Installation

Use the package manager yarn (preferred) or npm to install the required dependencies.

Clone the repository

git clone https://github.com/Vedant1202/to-do-task-manager-adonis.git
cd to-do-task-manager-adonis

For backend setup

To generate private-public keys:

  • On a Linux/Mac: You can choose to use ssh-keygen.

  • For all OS: You can use an online key pair generator like this.

  • After generating keys, name then as public.key and private.key and copy the files in to-do-api/keys/.

  • For easy installation sample keys have been provided in to-do-api/keys/. Rename them as public.key and private.key respectively.

To install backend dependencies

  • Using yarn
cd to-do-api
yarn install
  • Using npm
cd to-do-api
npm install

To setup and configure database

  • Install and configure MySQL database from here (recommended although other databases could also be used)
  • Copy the to-do-api/.env.example to to-do-api/.env
  • Edit the database variables in to-do-api/.env
  • Create a database named to-do

For frontend setup

To install frontend dependencies

  • Using yarn
cd frontend
yarn install
  • Using npm
cd frontend
npm install

Usage

To start backend API

  • Using yarn
cd to-do-api
yarn start
  • Using npm
cd to-do-api
npm start
  • API is live on http://localhost:3333/

To start frontend static server

  • Using yarn
cd frontend
yarn start
  • Using npm
cd frontend
npm start
  • Go to http://localhost:3000/login

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update documentation as appropriate.

License

MIT

About

A task manager application built on NodeJS and AdonisJS

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published