This is my portfolio website. It is a fairly simple one page react-app that showcases my skills, my work, and let's users contact me!
It is hosted on digital ocean - The static webpage is served by NGINX, and the API is ran by Docker.
- Install Dependencies:
npm install
- Create email credentials:
- Create the file
/api/email-credentials.js
- Write inside the file
module.exports = {EMAIL: '[email protected]',PASS: 'password'}
- Create the file
-
Run local server -
npm start
-
Run local API -
node index.js
Note: You may need to change the API address in /src/App.js
- Deploy both the API and the React App:
./ops ship
- Deploy only the React App:
./ops ship site
- Deploy only the API:
./ops ship api