- Frontend: React, Tremor.so, Headless UI, TailwindCSS
- Backend: Next.js, Supabase's Postgres database, Vercel
- Log in to your Focusmate account
- Navigate to your profile settings
- Click on
Generate API key
and save the API key for a later step - Clone this repo to your local machine
git clone https://github.com/qu8n/focusbeacon.git
- Navigate to the project directory
cd focusbeacon
- Use the Node version specified for this project
nvm use
- Install packages with npm
npm install
- Create an
.env
file in the root directory - Enter the environment variables in the
.env
fileDEMO_FOCUSMATE_API_KEY="YOUR_API_KEY"
- Run the app in development mode
npm run dev
- Open localhost:3000/dashboard/demo to view your metrics in the browser
By default, contributors will not have access to the Focusmate OAuth login nor production database. If your contributions require access to these, please reach out to me on LinkedIn.
If you have a suggestion that would make this better, feel free to fork the repo and create a pull request. I'm also happy to chat over a Focusmate session to get you started with the codebase.