Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have the editor show up to admins #33

Open
jesusbibieca opened this issue Dec 8, 2021 · 1 comment
Open

Have the editor show up to admins #33

jesusbibieca opened this issue Dec 8, 2021 · 1 comment
Labels
question Further information is requested

Comments

@jesusbibieca
Copy link

I'm thinking what are your thoughts on using this project as a page editor not just for the code owner, but also to admins in the platform. Do you think this is something that can be archived?

More information on why I asked the question... I'm thinking that since the app needs to be built again to save the changes I'm not sure if this is something that can be done or that can be implemented, like have a way for an admin to log in to the frontend and just by login in, having the ability to modify the site, save it and log out and have it ready in production with the updated changes.

Note: I really like this project and the things you've created with it! I'll review it in more depth to see how I can possibly contribute to it 😸

@LiveDuo LiveDuo added the question Further information is requested label Dec 13, 2021
@LiveDuo
Copy link
Owner

LiveDuo commented Dec 13, 2021

Hey @jesusbibieca,

Glad you liked the project.

I think Destack is starting to overgrow its initial focus of being a tool for developers to build landing pages for their solo projects. The goal right now is to finish with the two pending PRs (#32 and #34) which are slowly getting into shape.

Their are two ways I can think of about having admins in a Destack project:

  1. Create a hosted service on the cloud or on premises that does the following. Clones the project locally, starts the development server and forwards the port (3000 for both Next and React) securely to the admin. There could be a command in Grapes.js toolbar that the admin can trigger which would create a pull request or push the changes directly to production.
  2. Have the same services hosted from someone else who would like to provide it either for free or for profit. Such a service would need to connect to the repository, run a development instance with Destack locally and provide access through port forwarding to admins. You might want to check out https://www.stackbit.com which does something similar with their own engine.

PS: If you have any other ideas on implementing admins, feel free to share them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants