GithubHelp home page GithubHelp logo

hideoo / astro-db-starlight-showcase Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 221 KB

A Starlight showcase page using Astro DB

JavaScript 1.08% TypeScript 47.66% Astro 49.92% MDX 1.34%
astro astro-db documentation showcase starlight

astro-db-starlight-showcase's Introduction

astro-db-starlight-showcase ๐Ÿšง

A Starlight showcase page using Astro DB.

Note

This repository is shared for demonstration purposes only, written in a limited amount of time, and is not intended to be used as a production-ready application.

The goal is to demonstrate how one might use Astro DB in a Starlight application, handle form and image validation, and interface with other services such as GitHub and Cloudflare R2.

Features

This repository contains a basic example of a showcase related set of custom pages in a Starlight application using Astro DB.

Users can login using their GitHub account and submit their own showcase entry which must include a name, a URL, and an image at specific dimensions. Users with the admin permission can approve or reject entries. Approved entries are displayed on the showcase page for everyone to see.

How to run

  1. The application requires various environment variables to be set. Duplicate the .env.example file and rename it to .env.development.local. Then, fill in the required values (the example file contains links to the documentation for each service).
  2. Install the dependencies using pnpm install.
  3. Run the application using pnpm dev.

License

Licensed under the MIT License, Copyright ยฉ HiDeoo.

See LICENSE for more information.

astro-db-starlight-showcase's People

Contributors

hideoo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.