Giter Site home page Giter Site logo

nicolapps / njs-outfit-builder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jherr/njs-outfit-builder

0.0 0.0 0.0 10.41 MB

Convex outfit builder

Home Page: https://njs-outfit-builder.vercel.app

JavaScript 35.44% TypeScript 62.40% CSS 2.16%

njs-outfit-builder's Introduction

Convex "Outfit Builder" demo application.

Demo goals

This demonstration application is intended to show off the following features of Convex:

  • Typed schemas that have multiple tables with a one-to-many array based relationship
  • Cloud deployment
  • Cloud functions
  • Cloud internal functions
  • Integration with Clerk for authentication
  • NextJS RSC queries
  • Client side mutations and live updates

Setup

Initialize the .env.local:

# Deployment used by `npx convex dev`
CONVEX_DEPLOYMENT=********** # convex development deployment key

NEXT_PUBLIC_CONVEX_URL=********** # convex development deployment cloud url
NEXT_PUBLIC_CONVEX_SITE_URL=********* # convex development deployment site url

Install:

npm i

In one terminal:

npx convex dev

In another terminal:

npm run dev

To seed the product inventory:

The seeding script uses the internal server function in convex/images.ts to operator. You'll need to copy that file from this repo into your project to use it. Once the products are seeded you can remove it.

Clear the existing products table in the Convex dashboard and run:

node scripts/seed.js

Screenshots

Home page showing outfits

Outfit creator

njs-outfit-builder's People

Contributors

jherr 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.