An open API service indexing awesome lists of open source software.

https://github.com/yeukfei02/imagesearchapi

imageSearchApi by unsplash, pixabay, storyblocks
https://github.com/yeukfei02/imagesearchapi

docker image javascript mongodb nodejs pixabay storyblocks unsplash

Last synced: 8 months ago
JSON representation

imageSearchApi by unsplash, pixabay, storyblocks

Awesome Lists containing this project

README

          

# imageSearchApi

[![codecov](https://codecov.io/gh/yeukfei02/imageSearchApi/branch/master/graph/badge.svg)](https://codecov.io/gh/yeukfei02/imageSearchApi)

imageSearchApi by unsplash, pixabay, storyblocks

documentation:

## Requirement

- install yarn
- install node (v12+)
- install mongodb

## Testing and run

```zsh
$ yarn

// development
$ yarn run dev

// production
$ yarn run start

// run test case
$ yarn run test

// use eslint and prettier to format code
$ yarn run lint
```

## Docker

```zsh
// build images and start container in one line
docker-compose up -d --build

// go inside container
docker exec -it /bin/bash

// check container logs
docker logs

// remove and stop container
docker-compose down
```

open localhost:3000

## Contributing

Please refer to [CONTRIBUTING.md](https://github.com/yeukfei02/imageSearchApi/blob/master/CONTRIBUTING.md)