Skip to content

imss0/cafftime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cafftime

Cafftime is a caffeine intake tracker. This app will give you answer to these questions!

✔️ How much caffeine does this drink contain?
✔️ Do I drink too much caffeine than recommended?
✔️ If I drink coffee at 4p.m, would it affect my sleep?

Screenshots

Installation

  1. To run this app, MongoDB needs to be installed. (or MongoDB Atlas account)
  2. Clone this repo
  3. install dependencies : npm i
  • in root folder (cafftime)
  • in client folder
  • in server folder

Getting Started

  1. Create .env file in server folder
  2. Copy .env.sample and add your data
  3. Upload storage.csv file to your database
    This is a file that has a list of caffeinated drink
    The name of data table is foods. You can find the schema in cafftime/server/models/food.js
  4. node index.js in server folder (If you use nodemon, run nodemon instead)
  5. npm run start in client folder

Tech Stack

Frontend

  • React
  • Tailwind CSS
  • Chart JS

Backend

  • MongoDB
  • Mongoose
  • NodeJS
  • Koa

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published