WaterTracker-t8-backend

Logo

The Water Tracker app provides basic functionality for a web application that allows you to track and manage your water consumption on a daily basis.

Table of Contents

Basic capabilities

Frontend

Features

The Water Tracker backend provides a set of functions that allow users to interact with the system through API endpoints Usage

Getting Started

Prerequisites

Before you can run the Water Tracker backend, you’ll need to have the following software installed on your system:

Installation

  1. Clone the repository to your local machine:
    git clone https://github.com/marixa82/WaterTracker-t8-backend
    
  2. Change your current directory to the project folder:
    cd WaterTracker-t8-backend
    
  3. Install the project dependencies:
    npm install
    or
    yarn install
    
  4. Configure the environment variables. You will need to create a .env file in the project root and define the required variables (e.g., database connection details, API keys, etc) - see .env.example for required variables.
  5. Start the server:
    npm run start:dev
    or
    yarn run start:dev
    

    Your Water Tracker backend should now be running and accessible at http://localhost:4000 (if you set the PORT .env variable as 4000).

Usage

Here are some example use cases of the Water Tracker backend:

These endpoints allow you to interact with various features on the Water Tracker backend.

API Documentation

For detailed API documentation or tests, please refer to the Swagger API Documentation. The first opening may be long, because free render.com service is used for backend deployment.

Contributors