feredean /
node-api-starter
A boilerplate for Node.js APIs designed for app consumption, written in Typescript
23/100 healthLoading repository data…
Prolifode / repository
A Boilerplate for deno RESTful apis
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.

Deno REST is a straightforward boilerplate project for creating RESTful APIs using Deno, Oak, and deno_mongo. Deno is a secure runtime for JavaScript and TypeScript that uses V8 and is built in Rust, Oak is a middleware framework for Deno's http server, and deno_mongo is a MongoDB driver for Deno.
To get started with this project, you first need to have Deno installed. If you haven't installed it already, you can follow the official Installation Guide.
Review the .environments/.env.example file and create a suitable .env file
based on your needs. For example, create a .env.development file under the
.environments directory for a development environment. For a test environment,
create a .env.test file under the .environments directory. Then, add the
necessary variables.
We use a seeding script to populate the database with initial data. Run the following command to execute the seeding script:
deno run seed
After setting up everything, you can run the project using the following command:
deno start
deno start:watch
The server will start and listen for incoming requests.
deno test
User roles and permissions are defined in the config/roles.ts file. You can
add, modify, or remove roles and their associated permissions in this file.
To add a new role, follow these steps:
config/roles.ts file.enum Role declaration. For example, to add a GUEST
role, your enum Role might look like this:export enum Role {
USER = 'USER',
ADMIN = 'ADMIN',
GUEST = 'GUEST',
}
roleRights object. For example,
to allow a GUEST to view users but not modify them, your roleRights
object might look like this:export const roleRights = new Map([
[Role.USER, [
PermissionList.GET_USER,
PermissionList.POST_USER,
PermissionList.PUT_USER,
PermissionList.DELETE_USER,
]],
[Role.ADMIN, [
PermissionList.GET_USER,
PermissionList.POST_USER,
PermissionList.PUT_USER,
PermissionList.DELETE_USER,
PermissionList.MANAGE_ROLES,
]],
[Role.GUEST, [PermissionList.GET_USER]],
]);
This project comes with the following API routes:
Each route is secured and requires appropriate permissions to access.
We welcome contributions to this project. Please feel free to open an issue or submit a pull request.
This project is licensed under the MIT License.
Selected from shared topics, language and repository description—not editorial ratings.
feredean /
A boilerplate for Node.js APIs designed for app consumption, written in Typescript
23/100 healthsupersoniko /
Modern DX friendly starter for Node.js/Hono APIs with the focus on simplicity and robustness.
53/100 healthsultanfariz /
A simple but complete TypeScript API starter boilerplate in Bun runtime environment. Already covered transactional queries, input validation, JWT auth, and exception handling. Also helpful for VSCode user (debugger etc.)
kumarsonu676 /
A production-ready NestJS API starter template featuring TypeScript, Docker, PostgreSQL, Prisma ORM, JWT Authentication, and Swagger documentation. Built for scalability and best practices.
58/100 healthjessevdp /
🏗 Boilerplate for a NodeJS REST API using Express, Mongoose, Typescript
29/100 healthAbd2002 /
A production-ready Node.js + TypeScript API boilerplate with a clean, modular architecture and built-in multi-database support using Sequelize. Designed to scale easily, stay maintainable, and work well for real-world backend applications.
65/100 health