Website designed and developed for a client specification as part of a group web development project.
-
Clone the Repository with:
-
git clone https://github.com/mcttn22/cmp-4011a-group-project.git - Or by downloading as a ZIP file
-
-
Enter the project directory with:
-
cd cmp-4011a-group-project
-
-
Install dependencies with:
-
npm install
-
-
Create server keys and certificate with:
-
Add .env file with following contents:
-
PORT=8000 EMAIL={Sender Gmail address} APP_PASSWORD={App password for Gmail address}
-
Start web server with:
-
npm start - Website will then be hosted at
https://localhost:8000Note: You will have to click through some options to accept the risk that were self certificated
Can test form handling with:
-
curl -X POST https://localhost:8000/ -d "email={Gmail address}@gmail.com"
Start web server with nodemon with:
-
npm run dev
