Skip to content

sctech-tr/liborganizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

library organizer

organize your library!

installation

1. clone the repository

git clone https://github.com/sctech-tr/liborganizer.git
cd liborganizer
npm install

2. get your credentials.json

  1. go to google cloud console
  2. create a new project
  3. enable google sheets api:
    • go to APIs & Services > Library.
    • search for Google Sheets API and enable it.
  4. create service account:
    • go to APIs & Services > Credentials.
    • click Create Credentials > Service Account.
    • fill in the details and click Create & Continue.
    • skip roles and click Done.
  5. generate credentials.json:
    • click on the newly created Service Account.
    • go to the Keys tab.
    • click Add Key > JSON.
    • download the file and rename it to credentials.json.
    • place it in your project directory.

3. configure the app

  1. copy .env.example to .env
  2. fill in the required fields; SPREADSHEET_ID and PORT.
    • SPREADSHEET_ID is the long string in the url of your google sheet; between /d/ and /edit.
    • PORT is the port the app will run on.

4. run the app

npm start

usage

  • open your browser and go to http://localhost:PORT (default port is 3000).
  • fill in the book details and click "add book".
  • check the spreadsheet!

About

organize your library!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published