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.
- Form Submission: A web form that allows users to enter data.
- Data Saving: The submitted form data is saved to a database using the
/saveendpoint. - Data Display: View all saved form data through the
/displayendpoint.
Ensure you have the following installed:
-
Clone the repository:
git clone https://github.com/sujoyghoshal/SQL-Connected-NODE.git
-
Install the dependencies:
npm install
Set up a .env file in the project root with the following variables: PORT=4000