Skip to content

gi-ba-bu/habit-tracker-server

 
 

Repository files navigation

Habit tracker


MIT license GitHub latest commit GitHub forks

An app built to help users track their habits.

This is the server side of a group project working on a habit tracker app. The server side is stored in this repo.

Installation & Usage


Installation

  1. Clone this repo using git clone
  2. Enter the directory cd habit-tracker-server

Usage

bash _scripts/startDev.sh

  • starts api & db services
  • runs db migrations
  • seeds db for development
  • serves api on localhost:3000

bash _scripts/teardown.sh

  • stop all running services
  • removes containers
  • removes volumes

Technologies

Main routes

URL HTTP Verb Action
/users/ GET index
/habits/ GET index
/auth/login POST auth
/auth/register POST auth

Fixed Bugs

  • bcrypt.compare() deprecated
  • same email can be used to open different user accounts

License

MIT License 🔗

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 98.8%
  • Shell 1.2%