{"repo":"JawherKl/node-api-postgres","free":true,"listed":false,"github":"https://github.com/JawherKl/node-api-postgres","clone":"git clone https://github.com/JawherKl/node-api-postgres.git","description":"This is a modern RESTful API built with Node.js and Express, designed to interact with a PostgreSQL database.","language":"JavaScript","stars":101,"topics":["express","nodejs","postgresql","npm"],"license":"MIT","category":"databases-storage","readme_excerpt":"✨ Overview This is a modern RESTful API built with Node.js and Express , designed to interact with a PostgreSQL database. The API provides various endpoints for managing user data, with additional features like authentication, JWT protection, soft deletion, and automated testing. We've also integrated Swagger for auto-generated API documentation. 🏗️ Architecture 🚀 Features - User Management : - Get All Users : Retrieve a list of all users. - Get User by ID : Retrieve a specific user by their ID. - Create User : Add a new user to the database. - Update User : Update details of an existing user. - Delete User : Remove a user from the database (soft delete functionality). - Authentication & Authorization : - User Authentication : Secure API access using JSON Web Tokens (JWT) . - Role-based Access Control (RBAC) : Control access to resources based on user roles (e.g., admin, user). - Password Reset : Secure password reset functionality with time-limited tokens and email verification using SendGrid . - Swagger API Documentation : - Swagger integrated for real-time API documentation and testing directly in the browser. Access the documentation at: http://localhost:3000/api-docs. - Database : - Integration with PostgreSQL for storing user data securely. - Soft delete functionality : Mark users as deleted without removing their data. - Unit Testing : - Comprehensive unit tests using Mocha and Chai to ensure the reliability of the application. - Test Cases : Includes tests for user ","default_branch":null,"files":null,"tree":[],"storefront":"/r/JawherKl","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/JawherKl/node-api-postgres/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}