Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.3 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.3 KB

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.