Skip to content

engr-idemudia/Meal-Tracker-App

Repository files navigation

Meal-Tracker-App

Description

An app that tracks the meals eaten by users each day so that over time a user can know the meals they enjoy the most, the meals they consume the most and their highest calories meals. It enables users to know their calories intake in order to maintain a healthier life style.

Deployed app: https://meal-tracker-01.herokuapp.com/ //site not available, requires paid subscription

Features / Pages

  • Sign up page - Users can create account
  • Sign in page - Users can sign in and signout
  • Add meal page - Users can add meal consumptions with image, calories and rating
  • Edit meal page - Users can edit meal consumptions
  • My Meals page - Users can view a paginated list of their meals and can delete meal consumptions
  • Reports page - Users can view their meal reports over a period of time
  • Language translations - for English, French and Estonia

Tech stack

  • Nodejs framework - Adonisjs
  • MySQL database
  • Bootstrap CSS library

Build / Set-up instructions

Ensure you have Nodejs installed on your machine and a MySQL database server running.

  • In MySQL server, create a database, e.g meal-tracker
  • Open your terminal / command prompt, navigate to a folder of your choice
  • Clone this repository: Run git clone https://github.com/osas-Idemudia/Meal-Tracker-App.git
  • Change directory into the cloned project: Run cd Meal-Tracker-App
  • Install dependencies: Run npm install
  • Create a new file in the project directory called .env, copy over the contents of .env.example into .env
  • Edit .env to match your database config settings, namely: DB_USER and DB_PASSWORD
  • Run migrations: node ace migration:run
  • Start the server: npm start
  • Go to http://127.0.0.1:3333 to view the application

User Stories

This is the link to my trello board containing the user stories: https://trello.com/b/AncMxg93/project-steps

Releases

No releases published

Packages

No packages published

Languages