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.
- 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.
Before you begin, ensure you have the following installed:
- Clone the repository:
Copy code
git clonehttps://github.com/sillascavalcanti/node_api.git
- Install dependencies:
Copy code
npm install
- Configure the environment variables:
Create a .env file and set up your database connection and JWT secret. - Run the application:
Copy code
npm start
- The API provides endpoints for user authentication and management. You can use tools like Postman to test the endpoints.
This project is licensed under the MIT License.