This is a repository for the landing page website of a skincare business meant to diagnose the skin condition of users. At the end of the quiz, users are asked to provide their email to view their results. These emails are then stored for newsletters that will be sent by the skincare business for marketing purposes.
- Navigate to the
server
directory - Install the dependencies
npm install
- Download the
.env
and.json
files from the group's shared drive - Upload the necessary
.env
and.json
files to the server directory. - Ensure that the recently uploaded files have
.env
and.json
file extensions, not file names. - Navigate to the
client
directory - Add a proxy
http://localhost:6000
topackage.json
of the client directory - Change the port to 6000 from the server.js the server directory
- Install the dependencies
npm install
- Prepare two terminals to run simultaneously.
- Run the first terminal from the
server
directory usingnpm run dev
- Run the second terminal from the
client
directory usingnpm start
- Use nvm to change to
node v16.20.2
- Navigate to the client directory
- Install the dependencies
npm install
- Build the client
npm run build
- Move the new build folder from the client directory to the server directory
- Navigate to the server directory
- Install the dependencies
npm install
- Zip the entire server directory except for node_modules
- Access the domain's cpanel with given credentials
- Setup the nodejs app using
node v16.20.2
- Extract the zip file to the file manager using the same directory from the previous step
- Ensure that the .env files are read properly
- Use the UI to npm install
- Start the website
This project was made by Gleezell Uy, Adrian Cheng, Alina Sayo, Angelo Guerra, Daniel Gutierrez, Erika Culala, Krizchelle Wong, and MJ Cabungcal.