Run the Visual Editor
The visual editor is a companion application to the Restura Engine that allows you to visually create and modify the database tables and endpoints found in the restura.schema.json file.
Clone the Restura repository
Section titled “Clone the Restura repository”Currently, there is no standalone application binary for the visual editor. You will need to download and run the application locally.
Start by cloning the repository:
git clone https://github.com/redsky-engineering/restura.gitgit clone git@github.com:redsky-engineering/restura.gitNavigate to the restura-ui directory and run the following command to start the Restura UI:
cd resturacd apps/restura-uinpm installnpm run startcd resturacd apps/restura-uipnpm installpnpm run startcd resturacd apps/restura-uiyarn installyarn startcd resturacd apps/restura-uibun installbun run startWith the application running, you can now access the visual editor at: http://localhost:3000.
Sign In
Section titled “Sign In”When the application opens, you will be prompted to enter a token. The token is the authToken that is set in the restura.config.mjs file.
Click the “SIGN IN” button to login.
Congratulations! You can now start creating and modifying your database tables and endpoints using the visual editor.
Next Steps
Section titled “Next Steps”Now that you have run the Restura UI, you can:
- Create your first database table - Define tables using the Visual Editor
- Build a standard endpoint - Create a GET endpoint that queries your data
Or dive deeper: