- Create habits that you want to track on a monthly basis; set a goal for how many times you complete habit / per month.
- Update Calendar grid on days you complete your habit.
- Habits will turn green when you reach you monthly goal. Enjoy!
- React - A JavaScript library for building user interfaces
- Vite - A build tool that is faster than Webpack
- Node.js - JavaScript runtime
- Express.js - Web application framework
- PostgreSQL - Open source object-relational database system
These instructions will get you a copy of the project up and running on your local machine for development purposes.
- Node.js
- npm
- PostgreSQL
- Fork & Clone the repository:
- Install server all dependencies from root directory: npm install
- Install dependencies:
npm install - Create your database:
createdb YOUR_DB - Run your migrations:
psql -f server/migration.sql YOUR_DB - Create your
.envfile:cp .env.template .env - Add your info in
.env - From root directory, run the app:
npm run dev
Root
npm run dev- Runs the API server and hosts your frontend assets.npm run dev:server- Runs the API server in watch mode.npm run dev:client- Hosts your frontend assets.
/client
npm run dev- Hosts your assets.npm run build- Builds your assets (mainly used in CI/CD).
/server
npm run dev- Runs the server in watch mode.npm run start- Starts the server (mainly used when deploying).
#Application Images
- John Kluse