This project demonstrates how to run a Fresh application with Deno. It's a complete tutorial example showing how to set up, develop, and deploy a Fresh app in the Deno runtime environment.
You can deploy your own version of this Fresh app to Deno Deploy immediately. Just click the button to clone and deploy.
This is a simple dinosaur encyclopedia built with Fresh, demoing modern Fresh features:
- Detail pages for each dinosaur
- Reusable components for styled links and buttons
- Interactive "Favorite" button using Fresh islands
- List of dinosaurs from a JSON file (could be from an API or database)
To run this project locally, run the following command:
deno task dev
This will start a local server, and watch the project directory and restart as necessary.
Visit http://localhost:5173 to view the app.
routes/
– Pages and API routescomponents/
– Reusable UI components (e.g.,LinkButton
)islands/
– Interactive islands (e.g.,FavoriteButton
)static/
– Static assets and styles
- Fresh documentation: https://fresh.deno.dev/docs/getting-started
Made with Fresh and Deno 🦕