first commit
This commit is contained in:
commit
a68ca93427
7 changed files with 7146 additions and 0 deletions
5
.gitignore
vendored
Normal file
5
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
|
||||
node_modules
|
||||
.env
|
||||
public
|
||||
.manifest
|
||||
5
.vscode/extensions.json
vendored
Normal file
5
.vscode/extensions.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"recommendations": [
|
||||
"redhat.vscode-yaml"
|
||||
]
|
||||
}
|
||||
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"yaml.schemas": {
|
||||
"https://schema.manifest.build/schema.json": "**/manifest/**.yml"
|
||||
}
|
||||
}
|
||||
49
README.md
Normal file
49
README.md
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
<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>The backend for AI code editors</strong> <br> <span>Manifest is a backend your AI can understand and your team can trust.</span>
|
||||
|
||||
## Description
|
||||
|
||||
Welcome to your [Manifest](https://github.com/mnfst/manifest) project ! Feel free to replace this README by your own.
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
$ npm install
|
||||
```
|
||||
|
||||
## Running the app
|
||||
|
||||
To run the app in the development mode:
|
||||
|
||||
```bash
|
||||
npm run start
|
||||
```
|
||||
|
||||
- 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 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.
|
||||
34
manifest.yml
Normal file
34
manifest.yml
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
# This is a sample file for a manifest.yml manifest backend.
|
||||
# Read more about the manifest format here: https:/manifest.build/docs
|
||||
|
||||
name: My pet app 🐾
|
||||
entities:
|
||||
Owner:
|
||||
properties:
|
||||
- name
|
||||
- { name: birthdate, type: date }
|
||||
policies:
|
||||
read:
|
||||
- access: public
|
||||
|
||||
Cat:
|
||||
properties:
|
||||
- name
|
||||
- { name: age, type: number }
|
||||
- { name: birthdate, type: date }
|
||||
belongsTo:
|
||||
- Owner
|
||||
policies:
|
||||
read:
|
||||
- access: public
|
||||
|
||||
Homepage:
|
||||
nameSingular: Home content
|
||||
single: true
|
||||
properties:
|
||||
- title
|
||||
- { name: description, type: richText }
|
||||
- { name: cover, type: image }
|
||||
policies:
|
||||
read:
|
||||
- access: public
|
||||
7034
package-lock.json
generated
Normal file
7034
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
14
package.json
Normal file
14
package.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "cms",
|
||||
"version": "0.1.0",
|
||||
"description": "A backend made with Manifest: https://manifest.build",
|
||||
"private": true,
|
||||
"license": "UNLICENSED",
|
||||
"scripts": {
|
||||
"start": "node node_modules/manifest/scripts/watch/watch.js",
|
||||
"seed": "node node_modules/manifest/dist/manifest/src/seed/scripts/seed.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"manifest": "^4.16.2"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue