-
-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release/[email protected]'
- Loading branch information
Showing
83 changed files
with
36,648 additions
and
8,624 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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Code coverage | ||
on: [pull_request] | ||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
HUSKY: 0 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Set up Node 18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Install dependencies (workspaces) | ||
run: npm ci --workspaces --ignore-scripts | ||
- name: Run tests and collect coverage | ||
run: npm run test:cov | ||
working-directory: ./packages/core/manifest | ||
- name: Upload coverage to Codecov | ||
uses: codecov/codecov-action@v3 |
This file was deleted.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
node_modules | ||
.env | ||
public |
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,5 @@ | ||
{ | ||
"recommendations": [ | ||
"redhat.vscode-yaml" | ||
] | ||
} |
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,5 @@ | ||
{ | ||
"yaml.schemas": { | ||
"https://schema.manifest.build/schema.json": "**/manifest/**/*.yml" | ||
} | ||
} |
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,58 @@ | ||
<br> | ||
<p align="center"> | ||
<a href="https://manifest.build/#gh-light-mode-only"> | ||
<img alt="manifest" src="https://manifest.build/assets/images/logo-transparent.svg" height="55px" alt="Manifest logo" title="Manifest - A backend so simple that it fits in a YAML file" /> | ||
</a> | ||
<a href="https://manifest.build/#gh-dark-mode-only"> | ||
<img alt="manifest" src="https://manifest.build/assets/images/logo-light.svg" height="55px" alt="Manifest logo" title="Manifest - A backend so simple that it fits in a YAML file" /> | ||
</a> | ||
</p> | ||
|
||
<p align='center'> | ||
<strong>A backend so simple that it fits into 1 YAML file</strong> | ||
<br><br> | ||
<a href="https://www.npmjs.com/package/manifest" target="_blank"><img alt="npm" src="https://img.shields.io/npm/v/manifest"></a> | ||
<a href="https://www.codefactor.io/repository/github/mnfst/manifest" target="_blank"><img alt="CodeFactor Grade" src="https://img.shields.io/codefactor/grade/github/mnfst/manifest"></a> | ||
<a href="https://discord.com/invite/FepAked3W7" target="_blank"><img alt="Discord" src="https://img.shields.io/discord/1089907785178812499?label=discord"></a> | ||
<a href="https://opencollective.com/mnfst" target="_blank"><img src="https://img.shields.io/badge/Support%20us-Open%20Collective-41B883.svg" alt="Support us"></a> | ||
<a href="https://www.codetriage.com/mnfst/manifest" target="_blank"><img alt="CodeTriage" src="https://www.codetriage.com/mnfst/manifest/badges/users.svg"></a> | ||
<a href="https://github.com/mnfst/manifest/blob/develop/LICENSE" target="_blank"><img alt="License MIT" src="https://img.shields.io/badge/licence-MIT-green"></a> | ||
<br> | ||
</p> | ||
|
||
## Description | ||
|
||
This project was made with [Manifest](https://github.com/mnfst/manifest). | ||
|
||
## Installation | ||
|
||
```bash | ||
$ npm install | ||
``` | ||
|
||
## Running the app | ||
|
||
To run the app in the development mode: | ||
|
||
```bash | ||
npm run manifest | ||
``` | ||
|
||
- Open [http://localhost:1111](http://localhost:1111) to open your admin UI it in your browser | ||
- Open [http://localhost:1111/api](http://localhost:111/api) to view your REST API documentation | ||
|
||
The page will reload when you make changes. | ||
|
||
## Seed dummy data | ||
|
||
Seeds some dummy data for your entities: | ||
|
||
```bash | ||
npm run manifest:seed | ||
``` | ||
|
||
## Community & Resources | ||
|
||
- [Docs](https://manifest.build/docs) - Get started with Manifest | ||
- [Discord](https://discord.gg/FepAked3W7) - Come chat with the community | ||
- [Github](https://github.com/mnfst/manifest/issues) - Report bugs and share ideas to improve the product. |
Binary file not shown.
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,22 @@ | ||
name: Invoice Management System 🗂️ | ||
|
||
entities: | ||
User 👩🏻💼: | ||
authenticable: true | ||
|
||
Accountant 👔: | ||
authenticable: true | ||
|
||
Invoice 🧾: | ||
properties: | ||
- number | ||
- { name: amount, type: money, options: { currency: 'EUR' } } | ||
policies: | ||
create: | ||
- { access: restricted, allow: Accountant } | ||
read: | ||
- { access: restricted, allow: [Accountant, User] } | ||
update: | ||
- access: admin | ||
delete: | ||
- access: forbidden |
Oops, something went wrong.