Giter VIP home page Giter VIP logo

ctavolazzi / recipes Goto Github PK

View Code? Open in Web Editor NEW

This project forked from spinspire/recipes

0.0 1.0 0.0 266 KB

pre-built templates for docker-compose, svelte-kit, golang, pocketbase, rust, python, metabase, drupal, postgres, msql, nginx projects

Home Page: https://spinspire.com/article/project-recipes

Shell 1.70% JavaScript 13.01% Python 0.83% Go 17.97% TypeScript 18.95% HTML 2.31% SCSS 5.78% Svelte 39.45%

recipes's Introduction

receipes

Ready to go templates/starter-kits for commonly used tech-stacks. Just npx degit spinspire/recipes/something myprj

Note 1: I'm trying to keep this README short. For a more detailed explanation, see this article.

Note 2: These templates have features that you probably don't need or use. So remember trim down whatever you borrow. The goal is to avoid reinventing the wheel.

  • docker-compose
    • entrypoint.sh script to initialize a container before use.
    • traefik reverse proxy labels, router rules, and networks provided so that your container can receive HTTP requests.
    • Main docker-compose.yml file + .env and docker-compose.override.yml files.
  • sk: Svelte-Kit
    • Static frontend with adapter-static. No SSR. Can be turned on if needed.
    • Live Dev with HMR
    • vite proxy to the backend server
    • Svelte component testing route at /components (works standalone and can be pulled into the route folder of any sveltekit project)
  • pb: PocketBase / Go
    • Live Dev with modd
    • Go type to TypeScript type generation with tygo
    • PocketBase record to TypeScript type generation with pocketbase-typegen
    • Serve static frontend using --publicDir ../sk/build
  • py: Python / FastAPI
    • Mount Python routes to a configurable prefix (e.g. /apy)
  • mb: Metabase

Coming soon ...

  • rs: Rust
  • dr: Drupal
  • ng: Nginx
  • pg: PostGres
  • my: MySQL/MariaDB

Read the README files the respective folders to understand the details of a specific stack component.

How to use

Basically use degit.

For example, use a specific template ...

  • npx degit spinspire/receipes/sk myprj/sk
  • npx degit spinspire/receipes/pb myprj/pb
  • npx degit spinspire/receipes/mb myprj/mb
  • npx degit spinspire/receipes/py myprj/py

Or the whole project ...

  • npx degit spinspire/receipes myprj

recipes's People

Contributors

jkdoshi avatar williamrelken avatar

Watchers

 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.