marville001 / node-postgresql-ts-starter

PERN starter project configured with typescript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pern-ts-starter

Folder structure


src

Used to organize all the login of the application

- Config

The config folder is used to organize configuration files

- Controllers

Here we will put the handlers of our routes

- Middleware

Component for the middlewares that you use in the routes

- Database

Contains models/seeders/migration files for sequelize

- Routes

Everything related to routing belongs here

- Utils

These are the so-called utility or “pure” functions

- Validators

You use validators mainly to approve payloads and configuration

- Tests

After you have created the key components in your folder structure, it’s time to implement testing in your project (both unit and integration)

About

PERN starter project configured with typescript

License:MIT License


Languages

Language:TypeScript 85.3%Language:Shell 12.1%Language:Dockerfile 2.5%