⚛️ Web Developers portfolio build with Gatsby.js & React.js
This is my personal portfolio website build with GatsbyJS and a small ExpressJS server.
/*
* Webserver PORT
*/
const PORT = 3005;
/*
* Email settings
*/
const EMAIL = '[email protected]';
const EMAIL_PASSWORD = 'your-mail-password';
/*
* Session settings
*/
const SESSION_SECRET = 'Zsjfkrkwujskcfjskw&m';
/*
* SSL / HTTPS settings
* ------------------------
* if HTTPS is true, the privateKey_path, certificate_path and ca_path MUST be correctly located.
*
* privateKey_path is the path where the privkey.pem file is located
* certificate_path is the path where the cert.pem file is located
* ca_path is the path where the chain.pem file is located
*/
const isHTTPS = true;
const privateKey_path = 'PATH_TO_THIS_FILE/privkey.pem';
const certificate_path = 'PATH_TO_THIS_FILE/cert.pem';
const ca_path = 'PATH_TO_THIS_FILE/chain.pem';
module.exports = {EMAIL, EMAIL_PASSWORD, PORT, SESSION_SECRET, isHTTPS, privateKey_path, certificate_path, ca_path};
npm install
node server.js
gatsby develop