-
Notifications
You must be signed in to change notification settings - Fork 23
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
Showing
23 changed files
with
372 additions
and
166 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,52 @@ | ||
# | ||
# GitHub Actions workflow. | ||
# | ||
# Perfoms the following actions on a pull request: | ||
# * Checkout the code | ||
# * Install Node.js | ||
# * Prepare the environment | ||
# * Install dependencies | ||
# * Lint the code | ||
# * Run the tests | ||
# * Confirm the build runs | ||
# | ||
|
||
name: 'PR Checks: Llana' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
workflow_dispatch: | ||
workflow_call: | ||
|
||
jobs: | ||
pr_checks: | ||
name: 'Pull Request Package: Llana' | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: 'Checkout' | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.GH_CI_CD_RELEASE }} | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18.18.2 | ||
|
||
- name: Prepare | ||
run: echo -e "shamefully-hoist=true\\n@fortawesome:registry=https://npm.fontawesome.com/\n//npm.fontawesome.com/:_authToken=${{ secrets.FONTAWESOME_AUTH_TOKEN }}" > .npmrc | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Lint | ||
run: npm run lint | ||
|
||
- name: Build Docker Image | ||
run: npm run start:docker | ||
|
||
- name: Test | ||
run: npm run 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
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 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Start Docker", | ||
"type": "shell", | ||
"command": "npm run start:docker", | ||
"windows": { | ||
"command": "npm run start:docker" | ||
}, | ||
"group": "none", | ||
"presentation": { | ||
"reveal": "always", | ||
"panel": "new" | ||
}, | ||
// "runOptions": { | ||
// "runOn": "folderOpen", | ||
// } | ||
}, | ||
] | ||
} |
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,16 +1,16 @@ | ||
<div align="center"> | ||
|
||
<a href="https://juicyllama.com/" target="_blank"> | ||
<img src="https://juicyllama.com/assets/images/icon.png" width="100" alt="JuicyLlama Logo" /> | ||
</a> | ||
|
||
Visit [JuicyLlama > Tools > Llana](https://juicyllama.com/tools/llana) for full installation instructions, documentation and community. | ||
|
||
## Database Support | ||
## Databases | ||
|
||
We currently support the following databases: | ||
We are working to support all major databases, if you would like to contribute to the open source project and help integrate your faviourt database, checkout our [contribiution guidelines](https://juicyllama.com/developers/contributing). | ||
|
||
- [ ] [ORACLE](https://expressjs.com/en/guide/database-integration.html#oracle) (Help Wanted) | ||
- [ ] [MYSQL](https://expressjs.com/en/guide/database-integration.html#mysql) (In Progress) | ||
- [x] [MYSQL](https://expressjs.com/en/guide/database-integration.html#mysql) (In Progress) | ||
- [ ] MSSQL (Help Wanted) | ||
- [ ] [POSTGRES](https://expressjs.com/en/guide/database-integration.html#postgresql) (Help Wanted) | ||
- [ ] [MONGODB](https://expressjs.com/en/guide/database-integration.html#mongodb) (Help Wanted) | ||
|
@@ -21,14 +21,14 @@ We currently support the following databases: | |
- [ ] [CASSANDRA](https://expressjs.com/en/guide/database-integration.html#cassandra) (Help Wanted) | ||
- [ ] MARIADB (Help Wanted) | ||
|
||
## TODO: | ||
[See the complete breakdown of which databases are integrated with which endpoints](#database-support) | ||
|
||
- [ ] Auto detect relation {relation}.{col} in fields | ||
## TODO: | ||
|
||
- [ ] Authentication | ||
- [ ] Support hosts?[] to restrict access by url | ||
- [ ] Support identity column (in role/permissions) | ||
- [ ] Get key table relation working `users_api_keys` | ||
|
||
- [ ] Auth testing files (hosts, apikey) | ||
|
||
- [ ] Role based default permissions, e.g. | ||
|
||
``` | ||
|
@@ -39,7 +39,11 @@ We currently support the following databases: | |
}] | ||
``` | ||
|
||
- [ ] integrate JWT token support | ||
- [ ] Auth testing (role based access) | ||
|
||
- [ ] integrate JWT token support + /login endpoint | ||
|
||
- [ ] Auth testing (user/pass, login) | ||
|
||
- [ ] Add Demo Database data to Docker setup file | ||
|
||
|
@@ -50,15 +54,18 @@ We currently support the following databases: | |
role: {role_string}, | ||
own_records: READ | WRITE | DELETE, | ||
other_records: READ | WRITE | DELETE, | ||
identifier_restrictions: [{ | ||
identifer_route: 'user_id', // also supports clients.user_clients.user_id | ||
|
||
//replaced by identifer_route if possible? | ||
<!-- identifier_restrictions: [{ | ||
table: clients, | ||
column: client_id, | ||
relation: [{ | ||
type: FK | JOIN | ||
table: string | ||
column: string, | ||
}] | ||
}] | ||
}] --> | ||
}] | ||
}] | ||
|
||
|
@@ -70,23 +77,31 @@ We currently support the following databases: | |
|
||
- [ ] add full testing | ||
|
||
- [ ] move docs to JL Website | ||
- [ ] Move these docs to juicyllama.com/llana, landing page + docs | ||
|
||
- [ ] Add redis support for faster performance (e.g. schema caching) | ||
|
||
- [ ] containerize and publish to docker | ||
|
||
- [ ] use on first external client project | ||
|
||
- [ ] move remaining items to github issues | ||
|
||
- [ ] Adding more database integrations (postgres, etc) | ||
|
||
- [ ] Build integrations with workflow automation tooling (n8n, zapier, make, etc) | ||
- [ ] Scope Llana cloud option for non-technical users | ||
|
||
- [ ] Scope out Setup / Install service (pay to deploy on your database) | ||
|
||
#### Marketing | ||
|
||
- [ ] Build integrations with workflow automation tooling (n8n, zapier, make, etc) and promote on their platforms where possible | ||
|
||
- [ ] Publish on Daily.dev, ProductHunt, etc | ||
|
||
- [ ] Scope Llana cloud option for non-technical users | ||
- [ ] Commend on Medium posts like: https://javascript.plainenglish.io/my-tech-stack-for-building-web-apps-today-43398556bb4d introducing the plugin | ||
|
||
- [ ] Setup / Install service (pay to deploy on your database) | ||
- [ ] Basic PPC campaign | ||
|
||
|
||
## Installation | ||
|
@@ -281,4 +296,14 @@ Example Response: | |
|
||
Out of the box you can use our docker demo data to play with the system. Here is some helpful information: | ||
|
||
Test user, email: `[email protected]` password: `test` | ||
Test user, email: `[email protected]` password: `test` with API key: `Ex@mp1eS$Cu7eAp!K3y` | ||
|
||
|
||
|
||
## Database Support | ||
|
||
| Endpoint | ORACLE | MYSQL | MSSQL | POSTGRES | MONGODB | REDIS | SNOWFLAKE | ELASTICSEARCH | SQLITE | CASSANDRA | MARIADB | | ||
|---|-|-|-|-|-|-|-|-|-|-|-| | ||
|GET */:id` |[ ]|[x]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]| | ||
|POST */` |[ ]|[x]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]| | ||
|POST */list` |[ ]|[x]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]|[ ]| |
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,4 +1,3 @@ | ||
version: "3.9" | ||
services: | ||
llana-mysql: | ||
image: mysql:8.0 | ||
|
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.