/Fit-Daily-Mongo

Fit Daily is an application built with Express.js and Mongo DB that helps users track their daily fitness activities.

Primary LanguageJavaScript

Fit Daily | MongoDB

Fit Daily is a web application built with Express.js that helps users track their daily fitness activities. It contains a RESTful API for handling data operations, and a user interface using PUG view engine. Data storage using MongoDB. Users can interact with the application through a web browser to create, view and manage fitness routine history.

Objectives

  • Create routes for all routines JSON data that should be visible to the client. GET /daily_routines

  • Create route for client data creation. POST /submitroutine

  • Create route for data manipulation via PUT request.

    PUT /updateRoutine/:id

  • Create DELETE routes for data category to allow for client deletion via a request.

    DELETE /deleteRoutine/:id

  • Include a form within a rendered view that allows for interaction with your RESTful API.

    GET /addroutine

  • Create and use error-handling middleware.

Features

  • User login page
  • Create a new routine, client can intereact with a form and select date, type, duration and activity.
  • View user routine history data.
  • Modify an existing routine.
  • Delete an exisiting routine.

Technologies Used

  • Node.js
  • Express.js
  • Pug: Template view engine
  • Mongo DB
  • CSS
  • Font Awesome

Screenshots

App Screenshot

App Screenshot

App Screenshot

Run Locally

Clone the project

  git clone https://github.com/R-LaRoi/Fit-Daily-Mongo

Go to the project directory

  cd fit-daily-mongo

Install dependencies

  npm install

Start the server

  npm run start

Open browser

 http://localhost:3000