Skip to content

werdnanoslen/tasks

Repository files navigation

A web app for keeping track of tasks

Demo on phone

Setup

First, be sure mysql is running, npm install packages, and create an .env file based on .env.example.

Then start the server (npm run server) and app (npm start). Open localhost:3000 to view it in your browser. The page will reload when you make changes. Run with --demo arg to create demo data.

Git Hooks

Git hooks are configured to automatically:

  • pre-commit: Run Prettier on staged files
  • pre-push: Build the app and sync to Android

This ensures code is formatted and the Android app is up-to-date before pushing changes.

Android App

The front-end is configured to build as a native Android app using Capacitor. After making changes to the web app, rebuild and sync:

npm run build && npx cap sync android

The Android project is located in the /android folder. App configuration can be modified in capacitor.config.ts.

Open in Android Studio:

npx cap open android

Or build from command line (requires Android SDK):

cd android && ./gradlew assembleDebug

About

A simple tasks app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published