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.
- Host: GitHub
- URL: https://github.com/sujoyghoshal/sql-connected-node
- Owner: sujoyghoshal
- Created: 2024-08-23T16:48:49.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-08-23T16:57:00.000Z (10 months ago)
- Last Synced: 2025-02-01T18:39:21.415Z (4 months ago)
- Topics: css, javascript, matirial-ui, nodejs, sql
- Language: JavaScript
- Homepage:
- Size: 944 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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