organize your library!
git clone https://github.com/sctech-tr/liborganizer.git
cd liborganizer
npm install
- go to google cloud console
- create a new project
- enable google sheets api:
- go to APIs & Services > Library.
- search for Google Sheets API and enable it.
- 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.
- 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.
- copy .env.example to .env
- fill in the required fields;
SPREADSHEET_ID
andPORT
.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.
npm start
- 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!