This is the source code for my personal webiste. It is built in JavaScript using React for the frontend and a Node Express server for the backend.
- In the root directory, create a
.env
file with the following parameters:EMAIL_CLIENT
- the type of email client (for example,gmail
)EMAIL_ADDRESS
- the address for the nodemailer client to useEMAIL_PASS
- the password to the email address
- In a new terminal, navigate to
/backend
. - Run
npm i
to install packages. - Run
node server.mjs
to start the server.
- In a new terminal, navigate to
/frontend
. - Run
npm i
to install packages. - Run
npm start
to start the app.