Skip to content

doc2-site-bot/uncle-tonys-astrojs

Repository files navigation

Uncle Tony's with Astro and Preact

An Astro project bootstrapped with npm create astro@latest including TypeScript and Tailwind CSS using doc2.site as the content source.

Uncle Tony's is a fictitious restaurant in San Francisco.

Live demo

https://uncle-tonys-astrojs.netlify.app/

Content source

List of all published content and corresponding source for Uncle Tony’s.

Project: https://drive.google.com/drive/folders/1yAR0vQ6Di6va7X4Rtd-004iajFdNSH_v

Getting Started

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Credentials

If required, setup your credentials by creating an .env file similar to .env.example and copy paste your doc2.site user email and secret.

If credentials are defined, the doc2.site workspace used is dev see getWorkspace() for implementation details.

Deployment

The project is configured to be deployed on Netlify with Edge Functions.

Check out the Astro Netlify deployment documentation for more details.

Resources

To learn more, take a look at the following resources:

  • doc2.site docs - learn about doc2.site features for authors and developers.
  • Astro docs - learn about Astro features and API.
  • Preact docs - learn about Preact features and API.