-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from RianLandim/feature/improvements
Feature/improvements
- Loading branch information
Showing
20 changed files
with
2,230 additions
and
9,959 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Backoffice CI | ||
|
||
on: | ||
push: | ||
branches: ["master", "develop"] | ||
pull_request: | ||
branches: ["master", "develop"] | ||
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-node@v4 | ||
|
||
- name: Install dependencies | ||
run: npm i | ||
working-directory: ./fleet-management-backoffice | ||
|
||
- name: Lint | ||
run: npm run lint | ||
working-directory: ./fleet-management-backoffice |
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 |
---|---|---|
|
@@ -2,4 +2,6 @@ node_modules | |
|
||
coverage | ||
|
||
package-lock.json | ||
package-lock.json | ||
|
||
/minio-data |
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 |
---|---|---|
@@ -0,0 +1,36 @@ | ||
version: "3.9" | ||
|
||
services: | ||
database: | ||
image: bitnami/postgresql | ||
ports: | ||
- 5432:5432 | ||
environment: | ||
- POSTGRES_USERNAME=docker | ||
- POSTGRES_PASSWORD=docker | ||
- POSTGRES_DATABASE=app | ||
volumes: | ||
- postgresql_data:/bitnami/postgresql | ||
networks: | ||
- fleet_net | ||
minio-storage: | ||
image: minio/minio | ||
ports: | ||
- 9000:9000 | ||
- 41277:41277 | ||
environment: | ||
MINIO_ACCESS_KEY: be6b156f1127338b0bc9c6de77279fb5 # generated using node's crypto.randomBytes | ||
MINIO_SECRET_KEY: 311c8c64ce7ea4d686cb6921ee69eaea # generated using node's crypto.randomBytes | ||
MINIO_REGION: us-east-2 | ||
MINIO_HTTP_PORT: 9000 | ||
command: minio server /data --console-address 0.0.0.0:41277 | ||
volumes: | ||
- ./minio-data:/data | ||
|
||
networks: | ||
fleet_net: | ||
driver: bridge | ||
|
||
volumes: | ||
postgresql_data: | ||
driver: local |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Environment variables declared in this file are automatically made available to Prisma. | ||
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema | ||
|
||
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB. | ||
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings | ||
|
||
NODE_ENV="development" | ||
|
||
DATABASE_URL="postgresql://docker:docker@localhost:5432/app?schema=public" | ||
|
||
# random ssl | ||
SECRET="gz7HkjIUSDK5OggTgPPOhaItKg1sqnVLkC2IjmL0oI4=" | ||
|
||
MAP_BOX_KEY="" | ||
MAP_BOX_URL="https://api.mapbox.com/" | ||
|
||
|
||
RESEND_KEY="" | ||
|
||
MAILER_USER="" | ||
MAILER_PASS="" |
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.