Web App for books management
https://bookshelf-demo.vercel.app/
This is a read-only demo app. Update operations will not be reflected. It uses a mock server. Because the mock server doesn't have fully compatibility, other features might also not work.
- Bookshelf API v1.2.0
or
- Auth0
Read this: https://auth0.com/docs/quickstart/spa/react.
cp .env.template .env.development
vim .env.development # fill your value
Start Bookshelf API.
npm run generate
npm start
name | description |
---|---|
VITE_AUTH0_DOMAIN | Auth0 domain. See https://auth0.com/docs/quickstart/spa/react/interactive. |
VITE_AUTH0_CLIENT_ID | Auth0 client id. See https://auth0.com/docs/quickstart/spa/react/interactive. |
VITE_AUTH0_AUDIENCE | The identifier of Bookshelf API. See https://auth0.com/docs/secure/tokens/access-tokens/get-access-tokens#parameters. |
VITE_BOOKSHELF_API | An URL of Bookshelf API endpoint. |
VITE_DEMO_MODE | If it is 'true', sign-in will be skipped. It is intended to be used with mock-bookshelf-api. |
Commit into master.