Giter Club home page Giter Club logo

zingio's Introduction

zingio App

A Nuxt 3, TailwindCSS, Supabase Auth, EdgeDB Twitter Clone.

Features

  • Authentication (Password, GitHub)
  • User Profiles
  • Post Lists
  • Creating Posts
  • Post Comments
  • Post Likes
  • Profile Settings
  • Bookmark Folders
  • See Notion Roadmap for all features.

Setup

Installing EdgeDB CLI & TypeScript Types

  • Install EdgeDB CLI locally
  • after that, run edgedb project init
  • then npm run generate-types:edgedb

Deploy EdgeDB

  • See https://www.edgedb.com/docs/guides/deployment/digitalocean
  • Create digitalocean Link in CLI (<dsn> is the edgedb://... connection string)
    edgedb instance link \
    	--dsn <dsn> \
    	--trust-tls-cert \
    	--non-interactive \
    	digitalocean
  • Run migrations
    edgedb migrate --dsn <dsn> --tls-security insecure

Connect to edgeDB

This is not required, but to test the connection, you can run

edgedb -I digitalocean

Add .env

# Supabase
SUPABASE_URL="https://example.supabase.com"
SUPABASE_KEY="<your_key>"

# EdgeDB
EDGEDB_DSN="<your_dsn>"
EDGEDB_CLIENT_TLS_SECURITY=insecure

Install dependencies

npm install

Run dev server

npm start

After changing a dbschema/*.esdl file

  • npm run edgedb-migrate

Info

node-fetch@2 in devDependencies is required due to a bug where it would otherwise use node-fetch@3 and because this is esm, it doesn't work with the edgedb package. See: https://discord.com/channels/841451783728529451/1046195371933696069/1046206050266787911

zingio's People

Contributors

madebyfabian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

zingio's Issues

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.