{"id":18375833,"url":"https://github.com/apideck-libraries/vault-js-demo","last_synced_at":"2025-04-11T04:40:02.716Z","repository":{"id":95518903,"uuid":"578678384","full_name":"apideck-libraries/vault-js-demo","owner":"apideck-libraries","description":"Demo project that showcases how to implement Vault JS","archived":false,"fork":false,"pushed_at":"2024-02-01T00:48:42.000Z","size":1093,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":7,"default_branch":"main","last_synced_at":"2025-02-15T22:23:46.961Z","etag":null,"topics":["apideck","integrations","typescript","vault"],"latest_commit_sha":null,"homepage":"https://vault-demo.apideck.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/apideck-libraries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-12-15T16:12:40.000Z","updated_at":"2024-02-01T00:10:12.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc4f6ff7-0bca-46a1-8c79-690c98fe4663","html_url":"https://github.com/apideck-libraries/vault-js-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvault-js-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvault-js-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvault-js-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/apideck-libraries%2Fvault-js-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/apideck-libraries","download_url":"https://codeload.github.com/apideck-libraries/vault-js-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345272,"owners_count":21088241,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["apideck","integrations","typescript","vault"],"created_at":"2024-11-06T00:20:37.886Z","updated_at":"2025-04-11T04:40:02.684Z","avatar_url":"https://github.com/apideck-libraries.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vault JS Demo\n\n\u003cimg alt=\"Logo\" align=\"right\" src=\"./public/img/logo.png\" width=\"10%\" /\u003e\n\nA simple project that showcases the use of [Vault JS](https://www.npmjs.com/package/@apideck/vault-js).\n\u003cbr\u003e\n\u003cbr\u003e\n\n## Quick start\n\nInstall dependencies:\n\n```sh\nyarn\n\n# or npm install\n```\n\nInside the newly created project, you can run some commands:\n\n#### `yarn dev`\n\nRuns `next dev` which starts the app in development mode.\u003cbr\u003e\nOpen [http://localhost:3000](http://localhost:3000) to view it in the browser.\n\n\u003cimg alt=\"Screenshot\" src=\"./public/img/screenshot.png\" /\u003e\n\n#### `yarn build`\n\nRuns `next build` which builds the application for production usage\n\n#### `yarn start`\n\nRuns `next start` which starts a Next.js production server\n\n#### `yarn lint`\n\nRuns the `eslint` command for all files with the `js`, `ts`, `jsx`, and `tsx` extensions. See the `.eslint.json` file for all configuration settings.\n\n#### `yarn lint:fix`\n\nRuns the `eslint` command with the `--fix` flag which tries to automatically fix linting problems.\n\n#### `yarn lint:cache`\n\nRuns the `eslint` command with the `--cache` flag which only checks the changed files.\n\n#### `yarn lint:format`\n\nRuns Prettier which formats all files inside the `src` directory based on the configuration set inside the `.prettierrc` file.\n\n#### `yarn type-check`\n\nRuns the `tsc` command to compile the project and check if it has type errors.\n\n#### `yarn test`\n\nRuns the `jest` command which runs all tests\n\n#### `yarn test:watch`\n\nRuns the `jest` command with `--watch` flag which runs all tests in watch mode\n\n#### `yarn test:coverage`\n\nRuns the `jest` command with `--coverage` flag which indicates that test coverage information should be collected and reported in the output.\n\n## Commit hooks\n\nThis project uses [husky](https://github.com/typicode/husky) and [lint-staged](https://github.com/okonet/lint-staged) to run linters against staged git files on commit.\n\n#### Pre-commit\n\nBefore each commit we run `eslint` and `prettier` on all staged files.\n\n#### Pre-push\n\nBefore each push to the repository we run `jest` to check if all tests are passing.\n\n## Resources\n\nTo learn more, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial\n- [TypeScript](https://www.typescriptlang.org/) - learn about TypeScript\n- [Tailwind CSS](https://tailwindcss.com/) - learn about the utility-first CSS framework Tailwind\n- [Jest](https://jestjs.io/) - learn about Jest, the JavaScript Testing Framework\n- [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/) - learn about testing React components with React Testing Library\n- [ESLint](https://eslint.org/) - learn about analyzing code with ESLint\n- [Prettier](https://eslint.org/) - learn about formatting code with Prettier\n- [Prettier Extension](https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode) - a Prettier extension for Visual Studio Code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapideck-libraries%2Fvault-js-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapideck-libraries%2Fvault-js-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapideck-libraries%2Fvault-js-demo/lists"}