Skip to content

๐Ÿง˜ Track your habits via Toggl & NestJS ๐Ÿƒ

License

Notifications You must be signed in to change notification settings

noobj/nest-habit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Habit Tracker

Build Status Coverage Status GitHub top language GitHub codebeat badge

System requirements

  • Nodejs 12.0+

Installing for dev

  • cp .env.example .env

  • fill the connection info of env file

  • npm install

  • Create new mysql user and database

  • npm run init

  • npm run start

  • open the page http://127.0.0.1:3000/, and log in using jjj/passowrd

  • (If you are using vm or access from the other domain, please put your domain name into SANCTUM_STATEFUL_DOMAINS in the .env, or you won't able to pass the authentication)

About The Project

If you want to stick with a habit for good, one simple and effective thing you can do is keep a habit tracker. (James Clear, "Atomic Habits")

  • Fetch the record from Toggl and insert into DB.
  • A github-like activity board to diplay daily summary.
  • Get a daily notification from a Telegram bot

Display TG-Bot

Built With

License

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