brunobuddy
brunobuddy
MManifest
Created by Father Friday on 1/22/2025 in #questions-🙋
Blank Admin Panel
@Father Friday you can update the "manifest" version to "4.3.3" on your package.json or reo npx add-manifest@latest and it will work ! Thank you for taking the time to report the issue 👍
4 replies
MManifest
Created by Father Friday on 1/22/2025 in #questions-🙋
Blank Admin Panel
@Father Friday it is a bug I will try to fix it today https://github.com/mnfst/manifest/issues/269
4 replies
MManifest
Created by Father Friday on 1/17/2025 in #questions-🙋
API Endpoint to return all singles
If you have a "Page" entity you can fetch all records with the "list" endpoint or JS SDK function and have Astro generate one page per record
8 replies
MManifest
Created by Father Friday on 1/17/2025 in #questions-🙋
API Endpoint to return all singles
@Father Friday you should not give access to the YAML file to someone to create a page, Manifest has an admin panel for that, you can give them credentials to the admin panel instead. YAML file => DB structure (among others) Admin panel => Record management (CRUD)
8 replies
MManifest
Created by Father Friday on 1/17/2025 in #questions-🙋
API Endpoint to return all singles
Hi @Father Friday , technically you could call the /api/manifest (https://demo-singles.manifest.build/api#/Manifest/get_api_manifest) to get a list of all entities and then return the slugs of it. However on many use cases it can make sense to hard code those slugs as you are going to use them in the interface and give them individual names. What is the reason to have those slugs dynamic ?
8 replies
MManifest
Created by Ian on 1/15/2025 in #questions-🙋
How do I send the currently logged in user on a request?
Hello @Ian this will be implemented on the next release through a hook/middleware where you will be able to get the logged user id and patch it to your object
2 replies
MManifest
Created by Ian on 1/14/2025 in #questions-🙋
Is there a way to extend Manifest admin panel actions?
Hello @Ian I think the best way for that purpose it to create a custom frontend. The Manifest admin panel is something rather standard. Anyway we are currently working on adding hooks like "beforeCreate" to implement your custom logic (in your case generating the QR code for example)
2 replies
MManifest
Created by fTxUser on 12/26/2024 in #questions-🙋
basic questions
There is an example of the TodMVC app here: https://github.com/mnfst/frontend-examples
5 replies
MManifest
Created by fedehusk on 12/29/2024 in #questions-🙋
Problem with "belongsToMany" not working
Great, I created an issue for that: https://github.com/mnfst/manifest/issues/257
6 replies
MManifest
Created by fTxUser on 12/26/2024 in #questions-🙋
basic questions
@fTxUser you could do this todoapp but there a missing feature at the moment: the ABAC to restrict the access only to user's own todos. You can query and filter by userId but technically anyone can just change the query to see other's todos. We have this feature in the backlog
5 replies
MManifest
Created by fedehusk on 12/29/2024 in #questions-🙋
Problem with "belongsToMany" not working
Hello @fedehusk did it work changing that name ? If not can you try renaming the "group" entity into something different ? The "group" word might mess things up
6 replies
MManifest
Created by fTxUser on 12/26/2024 in #questions-🙋
basic questions
Hello @fTxUser ! Manifest is made to be the most simple possible. However some concepts may required a bit of practice: Do I understand it correct that I would intall Manifest via npm into my Astro project/directory and deploy that to github as one? >> You can do that yes, it's called "monorepo" structure. You can share your node modules or have a github repo with 2 folders: client/frontend/astro and server/backend/manifest. You also can separate it into 2 repos. If the Astro frontend will be the only consumer of the Manifest API, it can be simpler to have them in the same repository Once deployed how does one access the admin panel? Is it also just <www.domain.com>:1111? >> Yes Is there a way to configure CORS so that only my site can access my data in manifest? >> Not yet Do I understand it correct that I can simply define my users in the yaml file and they can simply login with my provided pw to edit the site, no need for further setup? >> Manifest comes with the "admin" entity by default. Once installed you can log to your admin panel and create individually credentials for your user Can I use the auth feature to create a logged in state for my astro site, without using the Manifest Backend/Admin Panel? >> I am not seeing why would you want to do that. What would be the point ? If the frontend logs to get data from the backend you would need to store the credentials publicly in your frontend code.
5 replies
MManifest
Created by crontent on 12/21/2024 in #questions-🙋
Nginx proxy -> implications?
hello @crontent, can you show me your NGINX config to have a look ? Here is a default config for Manifest on NGINX. I guess the location "/" has to become "/backend" in your case:
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:1111/;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;

proxy_connect_timeout 3600s;
proxy_send_timeout 3600s;
proxy_read_timeout 3600s;
}
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://localhost:1111/;
proxy_ssl_session_reuse off;
proxy_set_header Host $http_host;
proxy_cache_bypass $http_upgrade;
proxy_redirect off;

proxy_connect_timeout 3600s;
proxy_send_timeout 3600s;
proxy_read_timeout 3600s;
}
2 replies
MManifest
Created by xiii29 on 12/20/2024 in #questions-🙋
Make a relation required
@xiii29 definetly not... therre is no way to do that. We add it to the backlog as it's critical
3 replies
MManifest
Created by MiskoPisko on 12/20/2024 in #questions-🙋
SMTP and mailing
Hello @MiskoPisko not yet but we are going to add custom endpoint feature where you can send emails and basically do whatever you want there. This will be done on January ! Can you tell me more about your usecase so I can make sure it's covered ?
3 replies
MManifest
Created by Shant Tokatyan on 12/7/2024 in #questions-🙋
I want to prevent people from updating other scores on a leaderboard, but that doesn't seem possible
I will let you know when it's done. Probably next month !
11 replies
MManifest
Created by Shant Tokatyan on 12/7/2024 in #questions-🙋
I want to prevent people from updating other scores on a leaderboard, but that doesn't seem possible
@Shant Tokatyan you took the correct decision as there is no easy way to do it with Manifest yet. However we will focus on implementing custom logic in Manifest really soon. Good luck
11 replies
MManifest
Created by meltonstudios on 12/7/2024 in #questions-🙋
eCommerce
@meltonstudios at the moment you cannot really go ecommerce with Manifest as there is plenty of ecommerce features missing. You could however mix it with other solutions like Shopify API or Paddle.com etc. using Manifest for the editorial part an having the ecommerce logic somewhere else
3 replies
MManifest
Created by Shant Tokatyan on 12/4/2024 in #questions-🙋
I plan to use Manifest for hosting a leaderboard. Any advice?
No description
5 replies
MManifest
Created by Joe Beretta on 11/20/2024 in #questions-🙋
How migrations work on incremental development?
Hello @Joe Beretta, The database uses synchronization over migrations. It means that when you deploy a new YAML with let's say a new column, it creates it when you restart your app. Removing a column will also delete it (with its content). This approach has some drawbacks vs migrations but it is the simplest by far. This reddit conversation talks about this: https://www.reddit.com/r/typescript/comments/pp86s8/can_some_one_explain_to_me_migration_vs/
3 replies