A simple website to add, edit, delete notes!
Before you begin, ensure you have the following prerequisites installed on your system:
-
Node.js and npm (Node Package Manager): You can download and install them from nodejs.org.
-
MySQL Database: You should have a MySQL database set up or access to one for the back-end.
-
MySQL Workbench (Optional): To manage your MySQL databases more conveniently, you can use MySQL Workbench.
To get started with this project, follow the steps below to set up your front-end and back-end environments.
- Navigate to the
front-end
directory. - Run
npm install
and wait for the installation to finish. - Run
npm run dev
to start your front-end.
- Navigate to the
back-end
directory. - Run
npm install --legacy-peer-deps
and wait for the installation to finish. - Using MySQL Workbench or a similar tool of your choice, Create a new MySQL database called
hopla_notes
. - In your
config/config.js
file in theback-end
directory, Make sure to provide the correctport
,user
, andpassword
. This should be based on your local MySQL connection. - Run
npm run dev
to start your back-end.