HabitDabit is a (Work-in-Progress) application that aims to help people create positive habits through repetition and reward.
It's also a project created to help with my onboarding at Tigris Data.
- Next.js - web framework
- NextAuth.js - authentication
- Tigris - database
- Chakra UI - accessible React component library
- A Tigris Cloud account
- Install the Tigris CLI
- Node.js > 18.13.0 installed
git clone [email protected]:leggetter/habitdabit.git
cd habitdabit
npm install
Create your Tigris project and Tigris application keys, and set environmental variables.
If you're on Mac or Linux, you can start by installing the Tigris CLI:
brew install tigris
And then run:
npm run create-tigris-project
You'll be asked to login to Tigris Cloud during this process, and a .env.development.local
will be saved containing your Tigris Project settings.
If you'd prefer to create your project and save the project settings to environment variables locally:
- Login to the Tigris Console
- Create a Project called
habitdabit
(or some other name if you prefer) - Navigate to Application Keys
- Click the eye icon next to the Key with the same name as your Project
- Create a
.env.development.local
file and copy:
- URL to a variable named
TIGRIS_URI
- Name to a variable named
TIGRIS_PROJECT
- Client ID to a variable named
TIGRIS_CLIENT_ID
- Client Secret to a variable named
TIGRIS_CLIENT_SECRET
- Finally, add another variable called
TIGRIS_DB_BRANCH
with a value ofdevelop
An example .env.development.local
is in the repo called .env.development.local.example
.
Please do get involved! To start off with, we're building a simple MVP:
Take a look at the issues to see what is planned for HabitDabit or to ask a question.