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
- Host: GitHub
- URL: https://github.com/piharpi/forum-api-clean-architecture
- Owner: piharpi
- Created: 2023-05-04T07:59:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-16T09:04:19.000Z (almost 3 years ago)
- Last Synced: 2025-01-14T17:14:26.496Z (over 1 year ago)
- Topics: automation-testing, clean-architecture, functional-testing, integration-testing, unit-testing
- Language: JavaScript
- Homepage: https://github.com/piharpi/forum-api-clean-architecture
- Size: 209 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[](https://github.com/piharpi/forum-api-clean-architecture/actions/workflows/ci.yml)
[](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