Feel free to reuse the code for any project.
Run npm install && npm setup and replace the access token in astro.config.mjs with the one from your newly created space.
You may use storyblok-components.json and the push-components command of the Storyblok CLI in order to recreate the block schema.