Commit Graph

25 Commits

Author SHA1 Message Date
Ritesh Ghosh 536b97e549 feat: add graceful shutdown and better deployment environment logic 2025-05-25 22:49:05 +05:30
Ritesh Ghosh b19078e29c feat: add graceful shutdown and better deployment environment logic 2025-05-25 22:48:39 +05:30
Ritesh Ghosh 36b4f8acfc refactor: rename logger to log 2025-05-11 13:31:58 +05:30
Ritesh Ghosh 83076b672b feat: integrate custom logger and envalidated envs 2025-05-11 13:08:12 +05:30
Ritesh Ghosh f7af9c890a style: formatting changes 2025-04-15 00:11:33 +05:30
Ritesh Ghosh da6699ba22 feat: use refactored error handlers and cache middlewares 2024-12-24 17:10:14 +05:30
Abdelaziz Mahdy dfc278be08 chore: styling changes to be more consistent 2024-12-23 03:27:43 -04:00
Abdelaziz Mahdy f1f5db84f9 feat(cache): add Cache-Control middleware and update .env.example 2024-12-22 15:32:56 -04:00
Ritesh Ghosh 062e662fbc feat: add /v endpoint for identifying api repo vesion 2024-12-22 00:39:13 +05:30
Ritesh Ghosh da83048f90 feat(cache): add middleware to insert CACHE_CONFIG variable in request context 2024-12-07 21:14:36 +05:30
Ritesh Ghosh 46f688ac12 Aniwatch API Version 2 (#66)
BREAKING CHANGE:

* chore: remove files that are not necessary for api v2

* test: update existing tests to use  pkg

* feat: organized aniwatch api envs and add more info about them

* feat: update tsconfig to include strict noUnsed params

* feat(api homepage): revamp api home page

* feat: update wani kuni image

* feat: add dot img

* feat: use hono cors

* feat: use hono rate limiter

* build: remove unnecessary deps, add ones needed and update description

* feat: add hianime routes and their handlers

* feat: update vercel deployment file

* docs: update logo and scraper docs, add envs section

* feat: update main server file

* feat: update peronal deployments caution section
2024-10-06 01:13:23 +05:30
Ritesh Ghosh 8565619f3a feat: disabled ratelimit & dont_sleep for personal deployments 2024-03-12 22:57:39 +05:30
Ritesh Ghosh a4b08c435c feat: add explicit interval time for convenience 2024-03-03 23:12:13 +05:30
Ritesh Ghosh c079bf808a feat: add check for vercel deployment 2023-11-29 19:26:08 +05:30
Ritesh Ghosh f8e27d77d2 fix(ts): file import types & static folder path 2023-11-22 13:44:14 +05:30
Ritesh Ghosh ca60147a88 feat(cors): using cors config 2023-08-20 13:35:14 +05:30
Ritesh Ghosh 2b22cc641e fix: added healthcheck awake 2023-08-19 23:51:43 +05:30
Ritesh Ghosh 25115e2289 feat: added healthcheck awake 2023-08-19 23:46:42 +05:30
Ritesh Ghosh 5f2759baf6 fix(healthcheck): fixed /health route response status 2023-08-19 22:49:04 +05:30
Ritesh Ghosh 3aff3e4a7d feat(healthcheck): added /health route 2023-08-19 22:48:20 +05:30
Ritesh Ghosh a92f140491 refactor(homeRoute): replaced / route with static resources 2023-08-13 19:29:17 +05:30
Ritesh Ghosh 5a82179174 feat: rate limited endpoints 2023-08-07 20:42:42 +05:30
Ritesh Ghosh f5a774ce49 chore(cleanup): cleaned up server.ts 2023-08-07 14:42:22 +05:30
Ritesh Ghosh e758c74d15 feat: added anime router 2023-08-02 13:40:23 +05:30
Ritesh Ghosh 35e61131b3 initial commit 2023-08-01 13:09:50 +05:30