Skip to content

System built with Node.js, Express.js, and PostgreSQL, featuring CRUD operations, validation, and API documentation with Swagger. Technologies Used: Node.js, Express.js, PostgreSQL, CRUD, Swagger, Mocha, Chai, Axios,Winston- logger, Knex ,EJS ,Bootstrap.

Notifications You must be signed in to change notification settings

tal6203/Rest-API-NodeJS

Repository files navigation

🌐 Rest-API-NodeJS

Welcome to the Rest-API-NodeJS repository! This project is a REST API built using Node.js and Express, designed to handle various operations efficiently.

Table of Contents

📖 Overview

The Rest-API-NodeJS application provides a robust API interface for various CRUD operations, logging, and testing functionalities. It is built with scalability and maintainability in mind, leveraging modern JavaScript and Node.js best practices.

✨ Features

  • CRUD Operations: Perform create, read, update, and delete operations.
  • Logging: Efficient logging for monitoring API usage.
  • Testing: Integrated testing framework to ensure reliability.

🔧 Setup

To run the Rest-API-NodeJS application locally, follow these steps:

Prerequisites

  • Node.js and npm

Installation

  1. Clone the repository:

    git clone https://github.com/tal6203/Rest-API-NodeJS.git
    cd Rest-API-NodeJS
  2. Install the dependencies:

    npm install

🚀 Usage

  1. Start the server:

    npm start
  2. The API will be accessible at http://localhost:8080.

📂 Project Structure

The repository is structured as follows:

Rest-API-NodeJS/
├── config/               # Configuration files
├── dal/                  # Data Access Layer
├── logger/               # Logging functionality
├── logs/                 # Log files
├── routes/               # API route handlers
├── script/               # Scripts
├── static/               # Static files
├── views/                # View templates
├── app.js                # Main application file
├── package.json          # NPM dependencies and scripts
├── package-lock.json     # Lock file for dependencies
├── README.md             # Project documentation
├── rest-api.test.js      # Tests for the API
├── exam_check.js         # Example check script
└── exam_check.test.js    # Tests for the example check script

🤝 Contributing

Contributions are welcome! To contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/your-feature-name).
  3. Make your changes and commit them (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/your-feature-name).
  5. Open a pull request.

📜 License

This project is open-source and available under the MIT License.

Rest-API-NodeJS.mp4

About

System built with Node.js, Express.js, and PostgreSQL, featuring CRUD operations, validation, and API documentation with Swagger. Technologies Used: Node.js, Express.js, PostgreSQL, CRUD, Swagger, Mocha, Chai, Axios,Winston- logger, Knex ,EJS ,Bootstrap.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published