This project is an advanced application built with Node.js, Express, Pug (for templating), and MySQL as the database. The project aims to provide an interactive and efficient solution for [project purpose, e.g., task management, e-commerce, etc.].
- User-friendly interface with Pug templates
- Robust backend built with Express.js
- MySQL integration for data persistence
Ensure you have Node.js and MySQL installed on your machine.
- Clone the Repository
#clone the repository
git clone https://github.com/danilo-quattrini/advanced-web.git
#open the repository
cd advanced-web
#open the repository with the exercises
cd exercisesPresented
#check if you have node and npm you should see the verion of them
node -v && npm -v
- Install the modules
#install the necessary modules
npm install express mysql pug request
- Configure MySQL
- Start your MySQL server.
- Create a new database for the project:
CREATE DATABASE your_database_name;
-Update your MySQL credentials in the project configuration file (e.g., config.js or .env).
- Run the Application you want
Start the server with:
node 04-createTable.js