Habits Tracker is a web application developed with Angular and Appwrite that allows users to track their daily habits. Users can create, update, and delete habits, as well as view their progress over time.
- User Authentication: Users can register, log in, and log out.
- Habit Management: Users can add, edit, and delete habits.
- Progress Tracking: Users can mark habits as completed and view their progress history.
- Intuitive Interface: The application features a user-friendly interface.
- Angular: Frontend framework.
- Appwrite: Backend platform providing services like authentication, database, and storage.
- TypeScript: Programming language used for the application development.
- HTML and CSS: Technologies used for the structure and design of the user interface.
- Node.js (version 20 or higher)
- Angular CLI
-
Clone the repository:
git clone https://github.com/your_username/habits-tracker.git cd habits-tracker
-
Install dependencies:
npm install --force
-
Set up Appwrite:
- Follow the instructions in the official Appwrite documentation to set up the Appwrite server using Docker.
- Create a new project in Appwrite.
- Configure authentication and the database as needed.
-
Configure environment variables:
- Create an .env file in the root directory and add your Appwrite configuration details:
ENDPOINT=https://cloud.appwrite.io/v1 # or your own Appwrite server PROJECT_ID=your-project-id DATABASE_ID=database-id
- Create an .env file in the root directory and add your Appwrite configuration details:
-
Start the Angular application:
ng serve
-
Open the application in the browser:
- Visit
http://localhost:4200
in your preferred browser.
- Visit
-
Registration and Login:
- Create an account or log in with an existing account.
-
Habit Management:
- Add new habits using the habit creation form.
- Edit or delete existing habits from the habits list.
-
Progress Tracking:
- Mark habits as completed to track daily progress.
- View the history of completed habits.
- Fork the repository
- Create a feature branch:
git checkout -b feature/new-feature
- Commit your changes:
git commit -m 'Add new feature'
- Push to the remote branch:
git push origin feature/new-feature
- Create a Pull Request
This project is licensed under the MIT License. See the LICENSE file for details.
- Name: Fernando Castellanos
- GitHub: fernacas-dev