ser14joker / etas

express typescript api starter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Express Typescript API Starter 🚀

Includes API Server utilities:

  • morgan
    • HTTP request logger middleware for node.js
  • dotenv
    • Dotenv is a zero-dependency module that loads environment variables from a .env file into process.env
  • helmet
    • Helmet helps you secure your Express apps by setting various HTTP headers. It's not a silver bullet, but it can help!
  • CORS
    • CORS is a node.js package for providing a Connect/Express middleware that can be used to enable CORS with various options.

Development utilities:

  • nodemon
    • nodemon is a tool that helps develop node.js based applications by automatically restarting the node application when file changes in the directory are detected.
  • mocha
    • ☕️ Simple, flexible, fun JavaScript test framework for Node.js & The Browser ☕️
  • supertest
    • HTTP assertions made easy via superagent.

Setup

yarn install

Test

yarn test

Development

yarn dev

About

express typescript api starter

License:MIT License


Languages

Language:TypeScript 100.0%