{"id":24320963,"url":"https://github.com/auyxs/faststore","last_synced_at":"2026-04-20T17:04:48.750Z","repository":{"id":264011428,"uuid":"892047261","full_name":"Auyxs/FastStore","owner":"Auyxs","description":"Simple auth system and data storage using Fastify framework","archived":false,"fork":false,"pushed_at":"2024-11-25T11:08:53.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T16:37:51.359Z","etag":null,"topics":["api-rest","authentication","fastify","javascript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Auyxs.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,"publiccode":null,"codemeta":null}},"created_at":"2024-11-21T12:20:32.000Z","updated_at":"2025-01-07T22:05:45.000Z","dependencies_parsed_at":"2024-11-28T04:48:50.571Z","dependency_job_id":null,"html_url":"https://github.com/Auyxs/FastStore","commit_stats":null,"previous_names":["auyxs/faststore"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auyxs%2FFastStore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auyxs%2FFastStore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auyxs%2FFastStore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Auyxs%2FFastStore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Auyxs","download_url":"https://codeload.github.com/Auyxs/FastStore/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242945844,"owners_count":20210762,"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":["api-rest","authentication","fastify","javascript"],"created_at":"2025-01-17T16:30:26.528Z","updated_at":"2026-04-20T17:04:48.720Z","avatar_url":"https://github.com/Auyxs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FastStore\nNode.js project built with the Fastify framework, implementing a simple authentication system and data storage solution.\n\n### Usage\n```js\nnpm i                   // fastify bcryptjs jsonwebtoken axios\nnpm run start          // Node.js v20+ is required by Fastify V5\n```\n\n### Testing\nUse the following command to test the implemented API endpoint with the Axios HTTP client library.\n```js\nnpm run test1          // Test for successful use cases\nnpm run test2          // Test for error handling scenarios\n```\n\n### Project Structure\n```js\nFastStore/\n├── data/\n│   ├── data.json    \n│   └── users.json\n├── src/\n│   ├── controllers/                    \n│   │   ├── dataController.js       // handlers for dataRoutes\n│   │   └── userController.js       // handlers for userRoutes\n│   ├── routes/                     // routes declaration\n│   │   ├── dataRoutes.js          \n│   │   └── userRoutes.js   \n│   ├── utils/\n│   │   ├── constants.js\n│   │   ├── fileIO.js\n│   │   ├── hash.js\n│   │   └── jwt.html\n│   └── app.js                        \n└── test/                            // scripts for endpoint testing\n├── README.md\n└── package.json\n\n```\n\n---\n\n### Additional Notes\n\n - A user with the Admin role can read, modify, and delete all saved data.\n - An Admin cannot add data for another user or manage registered users.\n - It is not possible to register as an Admin directly through the registration process.\n - Only one Admin is manually registered in users.json with the following credentials:    \n\n    ```\n    \"email\": \"admin@example.com\"\n    \"password\": \"rootpassword\"\n    ```\n\n#### Unhandled Case\n- Adding multiple data with duplicate keys\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauyxs%2Ffaststore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fauyxs%2Ffaststore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fauyxs%2Ffaststore/lists"}