Skip to content

richardbertozzo/api-koa-example

Repository files navigation

API Koa example

A simple example Koa microservice

Getting Started

Prerequisites

You can run the project with Docker or Node.

  1. Clone this repo
  2. Create the .env file, use the file .env-example as example.

Build / Run

  1. Docker

    Build an image from project:

    docker build -t api-koa-example .

    Run the docker image:

    docker run -it -p 3000:3000 api-koa-example
  2. Node

    Install dependencies:

    npm install
    

    Run the project:

    npm start
    

Running the tests

To run the tests execute:

npm run test

About

A simple example Koa microservice

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published