/Sheets-API

Primary LanguageJavaScript

Google Sheets API

This is a simple Node.js application that integrates with the Google Sheets API to fetch and display data from a Google Sheets spreadsheet.

Getting Started

To get started with this application, follow these steps:

Prerequisites

Node.js: Make sure you have Node.js installed on your system. Installation

  1. Clone the repository to your local machine

  2. Install the required npm packages using: npm install

  3. Configuration
    Before running the application, you need to set up your Google Sheets API credentials and configure environment variables.

    • Create a .env file in the root directory of the application.

    • Add the following environment variables to the .env file:

    CLIENT_ID=your-client-id
    CLIENT_SECRET=your-client-secret
    SPREADSHEET_ID=your-spreadsheet-id
    

    Replace your-client-id, your-client-secret, and your-spreadsheet-id with your actual Google API credentials and spreadsheet ID.

  4. Usage
    Run the application:

    npm start  
    

The server will start, and you can access the application in your web browser at http://localhost:3000.

NB: This is still under development, feel free to customize this README with additional information or details about your application as needed.