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

https://github.com/piharpi/forum-api-clean-architecture

Implementation clean architecture, unit testing, integration test, & functional test
https://github.com/piharpi/forum-api-clean-architecture

automation-testing clean-architecture functional-testing integration-testing unit-testing

Last synced: about 1 month ago
JSON representation

Implementation clean architecture, unit testing, integration test, & functional test

Awesome Lists containing this project

README

          

[![Continuous Integration](https://github.com/piharpi/forum-api-clean-architecture/actions/workflows/ci.yml/badge.svg)](https://github.com/piharpi/forum-api-clean-architecture/actions/workflows/ci.yml)
[![Continuous Deployment](https://github.com/piharpi/forum-api-clean-architecture/actions/workflows/cd.yml/badge.svg)](https://github.com/piharpi/forum-api-clean-architecture/actions/workflows/cd.yml)

# Forum API Clean Architecture

Implementation clean architecture RESTful API backend NodeJS(hapi.js) & PostgreSQL with TDD methodologies, unit testing,
integration testing, unit testing, integration testing & functional testing, CI/CD.

## Getting started
```sh
$ npm install
$ npm run migrate up
$ npm run migrate:test up
```

## How to test & run
```sh
$ npm run test:watch
$ npm run start:dev
```

## How to use (Example) Postman / Function Test
1. Open Postman
2. Import collection `postman/Forum API V2 Test.postman_collection.json` and `postman/Forum API V2 Test.postman_environment.json`
3. Run collection Test