Skip to content

The node_api project is a REST API with Node.js and Express, using Postgres and the MVC model. Ideal for small applications with secure user management. O projeto node_api é uma API REST com Node.js e Express, usando Postgres e o modelo MVC. Ideal para pequenas aplicações com gerenciamento seguro de usuários.

Notifications You must be signed in to change notification settings

sillascavalcanti/user_manager_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node API

Description

Node API is a RESTful API built with Node.js and Express, designed for secure user authentication and management. The API uses PostgreSQL as its database and follows the MVC (Model-View-Controller) architecture, ensuring a clear separation of concerns.

Features

  • User Authentication: Secure login and registration using JSON Web Tokens (JWT).
  • User Management: CRUD operations for user data.
  • PostgreSQL Integration: Efficient data handling with PostgreSQL.
  • MVC Architecture: Clean and maintainable code structure.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone the repository:
Copy code
git clonehttps://github.com/sillascavalcanti/node_api.git
  1. Install dependencies:
Copy code
npm install
  1. Configure the environment variables:
    Create a .env file and set up your database connection and JWT secret.
  2. Run the application:
Copy code
npm start

Usage

  • The API provides endpoints for user authentication and management. You can use tools like Postman to test the endpoints.

License

This project is licensed under the MIT License.

About

The node_api project is a REST API with Node.js and Express, using Postgres and the MVC model. Ideal for small applications with secure user management. O projeto node_api é uma API REST com Node.js e Express, usando Postgres e o modelo MVC. Ideal para pequenas aplicações com gerenciamento seguro de usuários.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published