aymxdd / node-api-starter

A minimalist starter project for Node.js API using JWT + IP auth, Express, CRUD and caching.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node API starter by @aymxdd

This is a minimalist starter project for Node.js API using JWT + IP auth, Express, CRUD and caching.

Project setup

Install dependencies:

npm install or yarn

Then, copy the .env.example file to a new .env file and fill in the values.

Barebones usage

Then in the terminal run the commands you need:

  • Development mode:

    yarn dev

  • Production mode:

    yarn build then yarn start

Roadmap

  • Add response formatter
  • Add testing
  • Add logging
  • Add database wrapper
  • Add docker support

About

A minimalist starter project for Node.js API using JWT + IP auth, Express, CRUD and caching.


Languages

Language:TypeScript 98.1%Language:Shell 1.9%