/api-skelton

Skelton for creating api using express, typescript, eslint, prettier, jest, knex

Primary LanguageTypeScriptMIT LicenseMIT

API-SKELTON

This project is skelton for api project. You do not have to setup anything just use this project as a base. It includes eslint, typescript, expressjs, prettier, jest already setup for production enviornment

Project Setup

Use nvm to install the correct version of node:

nvm install

Copy .env.example to .env:

cp .env.example .env

Install packages:

npm install

Usage

Run the app:

npm run dev

Run the prettier:

npm run prettier

Run the linter:

npm run lint

Run the tests:

npm run test