Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

  • app.js: The main application file that sets up the Express server and routes.
  • package.json: Contains the project metadata and dependencies.
  • views/: Contains the Handlebars templates for rendering the views.

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd <repository-directory>
  2. Install the dependencies:

    npm install

Usage

  1. Start the server:

    npm start
  2. Open your browser and navigate to http://localhost:3000 to view the product catalog.

Routes

  • /: Fetches and displays a list of products.
  • /product/:id: Fetches and displays details for a specific product by ID.

Dependencies

  • Express: Fast, unopinionated, minimalist web framework for Node.js.
  • Axios: Promise-based HTTP client for the browser and Node.js.
  • Handlebars: Simple templating language.
  • Nodemon: Utility that monitors for any changes in your source and automatically restarts your server.

License

This project is licensed under the MIT License.

About

An API call app is a software application that interacts with external web services to retrieve or send data. It does this by making requests to Application Programming Interfaces (APIs), which are sets of rules and protocols that allow different software applications to communicate with each other.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages