{"id":22061661,"url":"https://github.com/sayedtahsin/express-mongo-supabase","last_synced_at":"2026-04-11T01:33:27.792Z","repository":{"id":262865117,"uuid":"853373773","full_name":"SayedTahsin/Express-Mongo-Supabase","owner":"SayedTahsin","description":"An API Server with cron-jobs, Build with Express, TS, MongoDB, Supabase","archived":false,"fork":false,"pushed_at":"2025-01-17T09:39:14.000Z","size":166,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T17:35:03.176Z","etag":null,"topics":["express","mongodb","node-corn","supabase","typescript"],"latest_commit_sha":null,"homepage":"https://task-app-backend-production-1432.up.railway.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SayedTahsin.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-06T14:26:34.000Z","updated_at":"2025-03-17T05:00:18.000Z","dependencies_parsed_at":"2025-01-30T02:45:38.906Z","dependency_job_id":null,"html_url":"https://github.com/SayedTahsin/Express-Mongo-Supabase","commit_stats":null,"previous_names":["sayedtahsin/task-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SayedTahsin/Express-Mongo-Supabase","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayedTahsin%2FExpress-Mongo-Supabase","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayedTahsin%2FExpress-Mongo-Supabase/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayedTahsin%2FExpress-Mongo-Supabase/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayedTahsin%2FExpress-Mongo-Supabase/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SayedTahsin","download_url":"https://codeload.github.com/SayedTahsin/Express-Mongo-Supabase/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SayedTahsin%2FExpress-Mongo-Supabase/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273297784,"owners_count":25080448,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["express","mongodb","node-corn","supabase","typescript"],"created_at":"2024-11-30T18:13:18.339Z","updated_at":"2026-04-11T01:33:22.751Z","avatar_url":"https://github.com/SayedTahsin.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Routine App Backend\n\n## Overview\nThis is the server-side code for The Routine App. Build with Express.js, Typescript, MongoDB \u0026 Supabase.\n\u003cbr\u003eDeployed in Railway : https://task-app-backend-production-1432.up.railway.app/\n\n\u003ca href=\"https://github.com/SayedTahsin/Hono-Bun-Mongo\"\u003eSame project build with Hono.js on Bun Enviromnet \u0026 Used MongoDB\u003c/a\u003e\n\u003cbr\u003e\n\u003ca href=\"https://github.com/SayedTahsin/Routine-Hono\"\u003eSame project build with Hono.js on Cloudflare-wrokers Enviromnet \u0026 Used D1 Sqlite Database\u003c/a\u003e\n\n*** Decided to re-write the project Using Hono \u0026 Bun as I couldn't find any good free hosting site for express server \n\n## Features\n- Manage task with four categories: Daily(resets everynight), Weekly(resets on every Sunday night), Monthly (resets on last night of the month) \u0026 General that never resets.\n- Take notes and manage them with different tags.\n- Manage Profile with Authentication \u0026 Authorization. \n\n## Technology Used\n- **Express.js** with TypeScript\n- **MongoDB** NoSQL Database for task and note storage\n- **Supabase** SQL Database for user profiles \u0026 Authentication\n- **node-cron** for task scheduling\n- **JWT** for cookie based session manage\n\n## API Endpoints\n\n### User Endpoints (`/api/user`)\n\n| Method | Endpoint                | Body                                  | Protected |\n|--------|-------------------------|---------------------------------------|-----------|\n| POST   | /signup                 | `{ email, password, name, weekday }`  | No        |\n| POST   | /login                  | `{ email, password }`                 | No        |\n| POST   | /reset                  | `{ email }`                           | No        |\n| GET    | /:email                 | `-`                                   | Yes       |\n| POST   | /logout                 | `-`                                   | Yes       |\n| PUT    | /update/:email          | `{ name, weekday }`                   | Yes       |\n| DELETE | /delete/:email          | `-`                                   | Yes       |\n\n### Task Endpoints (`/api/tasks`)\n\n| Method | Endpoint                | Body                                  | Protected |\n|--------|-------------------------|---------------------------------------|-----------|\n| POST   | /                       | `{ text, status, mail, type }`        | Yes       |\n| GET    | /:mail                  | `-`                                   | Yes       |\n| PUT    | /:id                    | `{ text, status }`                    | Yes       |\n| DELETE | /:id                    | `-`                                   | Yes       |\n\n### Note Endpoints (`/api/notes`)\n\n| Method | Endpoint                | Body                                  | Protected |\n|--------|-------------------------|---------------------------------------|-----------|\n| POST   | /                       | `{ text, mail }`                      | Yes       |\n| GET    | /:mail                  | `-`                                   | Yes       |\n| PUT    | /:id                    | `{ text }`                            | Yes       |\n| DELETE | /:id                    | `-`                                   | Yes       |\n\n\n## Running Locally\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/SayedTahsin/Task-App-Backend.git\n   cd Task-App-Backend\n   ```\n2. setup .env file\n   ```bash\n    MONGO_URL=\n    PORT=8000\n    SUPABASE_URL=\n    SUPABASE_KEY=\n    JWT_SECRET=\n   ```\n3. Install dependecies \u0026 Run the Dev server\n   ```bash\n   npm install \u0026 npm run dev\n   ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayedtahsin%2Fexpress-mongo-supabase","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsayedtahsin%2Fexpress-mongo-supabase","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsayedtahsin%2Fexpress-mongo-supabase/lists"}