{"id":21871635,"url":"https://github.com/neuralcortex/rest_api_jwt_nodejs","last_synced_at":"2026-05-07T09:34:48.604Z","repository":{"id":208834368,"uuid":"722608388","full_name":"NeuralCortex/REST_API_JWT_Nodejs","owner":"NeuralCortex","description":"REST API using JWT, SQLite and Node.js","archived":false,"fork":false,"pushed_at":"2025-10-18T20:40:21.000Z","size":624,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-20T06:41:26.591Z","etag":null,"topics":["javascript","node-js","nodejs","rest","rest-api","restful-api","sql","sqlite","sqlite3"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NeuralCortex.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-11-23T14:11:07.000Z","updated_at":"2025-10-18T20:40:24.000Z","dependencies_parsed_at":"2023-11-23T14:45:06.748Z","dependency_job_id":"a9416a5a-f9c1-42d8-a1d6-c7803bfb2da1","html_url":"https://github.com/NeuralCortex/REST_API_JWT_Nodejs","commit_stats":null,"previous_names":["neuralcortex/rest_api_jwt_nodejs"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NeuralCortex/REST_API_JWT_Nodejs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralCortex%2FREST_API_JWT_Nodejs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralCortex%2FREST_API_JWT_Nodejs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralCortex%2FREST_API_JWT_Nodejs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralCortex%2FREST_API_JWT_Nodejs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NeuralCortex","download_url":"https://codeload.github.com/NeuralCortex/REST_API_JWT_Nodejs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NeuralCortex%2FREST_API_JWT_Nodejs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731647,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","node-js","nodejs","rest","rest-api","restful-api","sql","sqlite","sqlite3"],"created_at":"2024-11-28T06:14:50.724Z","updated_at":"2026-05-07T09:34:48.574Z","avatar_url":"https://github.com/NeuralCortex.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# REST API with JWT and SQLite\n\n## Overview\n\nThis project is a simple REST API implementing the CRUD (Create, Read, Update, Delete) pattern, secured with JSON Web Tokens (JWT), and built with Node.js. It uses a SQLite database to store data. The source code is commented for clarity, with detailed method descriptions provided in the code rather than in this README.\n\n## Features\n\n- RESTful API endpoints following the CRUD pattern.\n- JWT-based authentication for secure access.\n- SQLite database for lightweight data storage.\n- Demo client to interact with the API.\n- Easy setup with Node.js and npm.\n\n## Setup Instructions\n\nTo run the API, follow these steps:\n\n1. **Install Node.js**: Download and install [Node.js](https://nodejs.org) if not already installed.\n2. **Clone the Repository**: Clone this project to your local machine.\n   ```bash\n   git clone \u003crepository-url\u003e\n   ```\n3. **Navigate to Project Directory**: Change to the project's root directory.\n   ```bash\n   cd \u003cproject-directory\u003e\n   ```\n4. **Generate JWT Keys**: Use an [Online RSA Key Generator](https://travistidwell.com/jsencrypt/demo/) to create `public.key` and `private.key` files, and place them in the project directory.\n5. **Install Dependencies**: Run the following command to install required packages:\n   ```bash\n   npm install\n   ```\n6. **Start the API Server**: Launch the server using nodemon:\n   ```bash\n   nodemon server\n   ```\n7. **Run the Demo Client**: Start the demo client to interact with the API:\n   ```bash\n   npm start\n   ```\n\n## Technologies Used\n\nThe following tools and frameworks were used to develop this project:\n\n- **Visual Studio Code**: [VS Code](https://code.visualstudio.com/) for code editing.\n- **Postman**: [Postman](https://www.postman.com/) for API testing.\n- **SQLiteStudio**: [SQLiteStudio](https://sqlitestudio.pl/) for database management.\n- **Node.js**: [Node.js](https://nodejs.org) for the runtime environment.\n- **Google Chrome**: [Chrome](https://www.google.com/chrome/) for testing the demo client.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralcortex%2Frest_api_jwt_nodejs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneuralcortex%2Frest_api_jwt_nodejs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneuralcortex%2Frest_api_jwt_nodejs/lists"}