Skip to content

Commit

Permalink
Merge pull request #106 from infinitybase/staging
Browse files Browse the repository at this point in the history
Staging
  • Loading branch information
guimroque authored May 30, 2024
2 parents e340736 + e79749c commit 14b1cb1
Show file tree
Hide file tree
Showing 288 changed files with 3,129 additions and 1,118 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/test-and-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
uses: actions/checkout@v2

- name: Install modules
run: yarn
run: pnpm

- name: Run ESLint
run: yarn eslint . --ext .js,.jsx,.ts,.tsx
run: pnpm eslint . --ext .js,.jsx,.ts,.tsx

- name: Run Tests
run: yarn jest
run: pnpm jest
14 changes: 8 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Build
node_modules
.turbo
.husky

##DB
postgresql/

## API
# Build
build
yarn.lock
package-lock.json
Expand All @@ -17,8 +24,3 @@ pnpm-lock.yaml

# Logs
.log

# Tests
docker/database/postgresql
docker/database/postgresqltest
docker/database/postgresqldev
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions .husky/commit-msg

This file was deleted.

9 changes: 0 additions & 9 deletions .husky/pre-commit

This file was deleted.

17 changes: 0 additions & 17 deletions Makefile

This file was deleted.

18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Bako Safe API

### Development
1. Install [Docker](https://docs.docker.com/engine/install/)
2. Install [PNPM](https://pnpm.io/installation#using-npm): `npm install -g pnpm`
3. Install dependencies: `pnpm install`
4. Run the chain: `cd packages/chain && pnpm chain:dev:start`
5. Run the database: `cd packages/database && pnpm db:dev:start`
6. Run the api in the root folder: `pnpm dev`

### Tests
1. Install [Docker](https://docs.docker.com/engine/install/)
2. Install [PNPM](https://pnpm.io/installation#using-npm): `npm install -g pnpm`
3. Install dependencies: `pnpm install`
4. Run the chain: `cd packages/chain && pnpm chain:dev:start`
5. Run the database: `cd packages/database && pnpm db:dev:start`
6. Run the api in the root folder: `pnpm dev`
7. In new terminal, run the tests: `cd packages/api && pnpm test`
6 changes: 0 additions & 6 deletions docker/chain/.env.chain

This file was deleted.

17 changes: 0 additions & 17 deletions docker/chain/Makefile

This file was deleted.

212 changes: 0 additions & 212 deletions docker/chain/fuel-core/chainConfig.json

This file was deleted.

Loading

0 comments on commit 14b1cb1

Please sign in to comment.