{"id":16621596,"url":"https://github.com/pauldb09/api-template","last_synced_at":"2026-04-25T02:33:04.235Z","repository":{"id":39776584,"uuid":"482256180","full_name":"pauldb09/Api-Template","owner":"pauldb09","description":"A simple and beginner friendly api template built in nodejs and expressjs. Rate limite system","archived":false,"fork":false,"pushed_at":"2022-04-22T17:03:42.000Z","size":574,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-25T13:46:09.741Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/pauldb09.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}},"created_at":"2022-04-16T13:05:05.000Z","updated_at":"2024-02-29T09:06:06.000Z","dependencies_parsed_at":"2022-08-28T15:21:23.960Z","dependency_job_id":null,"html_url":"https://github.com/pauldb09/Api-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/pauldb09/Api-Template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldb09%2FApi-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldb09%2FApi-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldb09%2FApi-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldb09%2FApi-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pauldb09","download_url":"https://codeload.github.com/pauldb09/Api-Template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pauldb09%2FApi-Template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32247849,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"online","status_checked_at":"2026-04-25T02:00:06.260Z","response_time":59,"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":[],"created_at":"2024-10-12T02:47:46.448Z","updated_at":"2026-04-25T02:33:04.214Z","avatar_url":"https://github.com/pauldb09.png","language":"JavaScript","readme":"# Api Template\nA simple and beginner friendly api template built in nodejs and expressjs. Rate limite system included\n\n# Installation\n\nDowndload the files, install nodejs on your computer ( nodejs.org ) and run it with `node app.js`\n\nIf you need any help, join this server: [discord.gg/Q5QSbAHaXB](https://discord.gg/Q5QSbAHaXB)\n\n# Configuration\n\nYou can customize the settings in the `config.js` in [the line 5](https://github.com/pauldb09/Api-Template/blob/7319f8fac84395106afa31cdd24b0475756b9c78/app.js#L4) .\n\nFor the rate limite system, 4 req/s is a good value depening on the use you want to make of this.\n\nYou can create new routes by creating a file in the `routes` folder. Example route: \n \n```js\nconst { Router } = require('express');\nmodule.exports.Router = class Home extends Router {\n    constructor() {\n        super();\n        this.get('/', async function(req, res) {\n            res.status(200).send(\"Hello\")\n        });\n\n        this.post('/', async function(req, res) {\n            console.log(\"Got a post request\");\n        });\n    }\n};\n\nmodule.exports.name = '/test';\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldb09%2Fapi-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpauldb09%2Fapi-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpauldb09%2Fapi-template/lists"}