Find the deployed version of FocusPro at: focuspro.herokuapp.com
FocusPro runs on the following tech stack:
- Node.js
- Express
- React
- PostgreSQL
To set up local database (Mac):
- Download and install Postgres.app.
- Follow the steps here: Enable SSL in Postgres.app on Mac
- Create config.js in server/config/ and insert the following (replace username with your username):
module.exports = {
'LOCAL_DATABASE_URL': 'postgres://username:@localhost:5432/username'
}
To use Chrome Extension:
- Navigate to chrome://extensions on a Chrome tab.
- Click 'Developer Mode' and then 'Load unpacked extension...'
- Navigate to the extension folder and select it.
To start the application on a local machine:
- Run 'npm install'.
- Run 'npm install webpack -g'.
- Run 'webpack --watch', 'npm start', and 'psql "sslmode=require"' on terminal tabs.