Git Product home page Git Product logo

website-syntaxfm's Introduction

Syntax.

A tasty treats podcast for Web Developers.

This is the site that runs Syntax.fm โ€” go there to listen to it!

This site is built on SvelteKit.

Requirements

  • Node 18.0.0 or higher

Prerequisite

Install Node - https://nodejs.org/en

Install pnpm - https://pnpm.io/installation

Install mysql

This site uses MySQL via Prisma, so you will need a valid MySQL connection string.

Getting Started

  1. Read Prerequisites above ^^ before starting
  2. Copy .env.example to .env and specify env variables (needs at least DATABASE_URL)
  3. Run -> pnpm preheat
  4. Run -> pnpm dev
  5. Visit http://localhost:5173

Scripts

Generate Types pnpm db:generate DB studio pnpm db:studio DB Migrations pnpm db:push DB Seed pnpm db:seed

About this codebase

Just about all major code folders live in /src with the exception of /shows - the md source of truth for all podcast episodes as well as /prisma for our db connections and schema.

Alias
/actions Svelte Actions, these are reusable functions that act as lifecycle on DOM elements $actions
/assets Static assets that are used via @import $assets
/server All database and server-side only reusable code $server
/lib (SK Paradigm) Components and files that are used in more than one route $lib
/params (SK Paradigm) This is a SvelteKit specific folder to add validation on parameter based routes
/routes (SK Paradigm) File System based routing
/state Global State containers and resolvers $state
/styles CSS
/utilities Global Utility functions $utilities
/ Root $

Stylin'

These are the available media queries:

@custom-media --below_small (width < 400px);
@custom-media --below_med (width < 700px);
@custom-media --below_large (width < 900px);
@custom-media --below_xlarge (width < 1200px);
@custom-media --above_small (width > 400px);
@custom-media --above_med (width > 700px);
@custom-media --above_large (width > 900px);
@custom-media --above_xlarge (width > 1200px);

// Usage
@media (--above_med) {
}

Our Contributors

website-syntaxfm's People

Contributors

wesbos avatar ichris avatar stolinski avatar avclark avatar syntax-transcript-bot[bot] avatar bl0om avatar github-actions[bot] avatar sergical avatar ianizaguirre avatar benvinegar avatar simeydk avatar timneutkens avatar rosanarufer avatar scotthansonde avatar kaelxeth avatar csellis avatar drewtownchi avatar lfades avatar bartveneman avatar hangindev avatar jamesbarrett95 avatar biscuitech avatar pantharshit00 avatar shayaulman avatar bennygoldman avatar ratulmaharaj avatar borntofrappe avatar timer avatar kilian avatar manas94gupta 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.