Popularity
0.6
Stable
Activity
0.0
Stable
17
0
2

Programming language: TypeScript
License: GNU General Public License v3.0 only
Tags: Testing Frameworks     Runner     TypeScript     Jest     Prisma    

RESTful Node.js Starter with Prisma and Typescript alternatives and similar libraries

Based on the "Runner" category.
Alternatively, view node-starter alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of RESTful Node.js Starter with Prisma and Typescript or a related project?

Add another 'Runner' Library

README

RESTful Node.js Starter with Prisma and Typescript

This is an entity-based (atom) starter that utilizing

  1. Typescript
  2. Prisma (ORM)
  3. Eslint
  4. Jest
  5. Casl
  6. Husky

So what is an atom

An atom is a single part of the project, atoms can work together to response to certain requests

Atoms

The core components of an atom are

  1. Router
  2. Controller
  3. Validator
  4. Service

Router

A router routes traffic to the desired function

Controller

A controller control the logic of a atom, a controller may need validator and/or service

Validator

A validator is function that validates the incoming data to ensure that the data is valid

Service

A service is an API between a atom and the database

Other files may be provided such as

  1. Tests
  2. Types
  3. Helpers

CLI

  1. npm run init for initialization this command will
    1. delete LICENSE and CONTRIBUTING.md files
    2. empty README.md file
    3. delete .env.example and copy its content to .env
    4. ask you for project Name, Version, Description and Author and write them to package.json
  2. npm run create atom <name> to create a new atom


*Note that all licence references and agreements mentioned in the RESTful Node.js Starter with Prisma and Typescript README section above are relevant to that project's source code only.