An open API service indexing awesome lists of open source software.

https://github.com/sujoyghoshal/sql-connected-node

This repository demonstrates how to connect and manage SQL databases using Node.js. It includes examples of executing SQL queries, handling database connections, and performing CRUD (Create, Read, Update, Delete) operations.
https://github.com/sujoyghoshal/sql-connected-node

css javascript matirial-ui nodejs sql

Last synced: 2 months ago
JSON representation

This repository demonstrates how to connect and manage SQL databases using Node.js. It includes examples of executing SQL queries, handling database connections, and performing CRUD (Create, Read, Update, Delete) operations.

Awesome Lists containing this project

README

        

# Form Data Management with Node.js and Express

This project is a simple Node.js and Express application that allows users to submit form data, save it via the `/save` endpoint, and view all the saved data via the `/display` endpoint.

## Features

- **Form Submission**: A web form that allows users to enter data.
- **Data Saving**: The submitted form data is saved to a database using the `/save` endpoint.
- **Data Display**: View all saved form data through the `/display` endpoint.

## Getting Started

### Prerequisites

Ensure you have the following installed:

- [Node.js](https://nodejs.org/) (v14+)
- [npm](https://www.npmjs.com/) (comes with Node.js)

### Installation

1. Clone the repository:
```bash
git clone https://github.com/sujoyghoshal/SQL-Connected-NODE.git
```

2. Install the dependencies:
```bash
npm install
```

### Environment Variables

Set up a `.env` file in the project root with the following variables: PORT=4000