R-LaRoi / fit-daily-sba

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fit Daily | SBA.v5

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. Users can interact with the application through a web browser to create, view and manage fitness routine history.

Objectives

  • Create routes for all data that should be visible to the client.

    GET /routines

  • Create route for client data creation.

    POST /submitRoutine

  • Create route for data manipulation via PUT request.

    PUT /submitRoutine/: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
  • NanoId: Node package to generate custom ids
  • CSS
  • Font Awesome

Screenshots

App Screenshot

App Screenshot

App Screenshot

Run Locally

Clone the project

  git clone https://github.com/R-LaRoi/fit-daily-sba

Go to the project directory

  cd fit-daily-sba

Install dependencies

  npm install

Start the server

  npm run start

Open browser

 http://localhost:3000


About

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


Languages

Language:JavaScript 42.5%Language:Pug 37.5%Language:CSS 19.9%