Minimal express template for starting an API, using jest for testing, joi for input validation, eslint and prettier for formatting and linting and jwt for access tokens
- Clone the repository:
git clone https://github.com/michaelilao/minimal-express-template
- Change to the project directory:
cd minimal-express-template
- Install the dependencies:
npm install --global yarn // if you do not have it installed yet
yarn install
yarn add sharp --ignore-engines
- Run your api in dev mode
npm run dev
- Run the sample tests
npm test