-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
65a17a9
commit 094b36d
Showing
3 changed files
with
24 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,25 @@ | ||
<!-- PROJECT SHIELDS --> | ||
The nr-forest-client backend provides the internal apis that support the frontend development. | ||
|
||
[](/../../graphs/contributors) | ||
[](/../../network/members) | ||
[](/../../stargazers) | ||
[](/../../issues) | ||
[](/LICENSE.md) | ||
[](https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md) | ||
## Setup local development | ||
|
||
The nr-forest-client application provides the API that allows systems to consume forest client data without having to connect to a database. We are working the process to publish our API | ||
``` | ||
- Export env variables for database credentials: | ||
The nr-forest-client is a node.js application built with [nestJS](https://docs.nestjs.com), integrated with the [greenfield-template](https://github.com/bcgov/greenfield-template) to automate the process for testing, security scanning, code quality checking, image building and deploying. It is hosted in openshift, protected and published through [API Services Portal](https://api.gov.bc.ca/) | ||
``` | ||
|
||
export ORACLEDB_HOST=[] | ||
export ORACLEDB_PORT=[] | ||
export ORACLEDB_SERVICENAME=[] | ||
export ORACLEDB_USER=[] | ||
export ORACLEDB_PASSWORD=[] | ||
|
||
export POSTGRESQL_HOST=[] | ||
export POSTGRESQL_DATABASE=[] | ||
export POSTGRESQL_USER=[] | ||
export POSTGRESQL_PASSWORD=[] | ||
|
||
``` | ||
- Start the application: `./mvnw spring-boot:run` | ||
- Rebuild the application if need: `./mvnw clean package` | ||
- Run test: `./mvnw test` | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters