Code Monkey home page Code Monkey logo

hacktoberfest-prisma-challenge's Introduction

Hacktoberfest 2022 Thailand Prisma ORM challenge

Please Fork this repo for creating PR

How to create PR Please Watch Before Start The Challenge

https://www.loom.com/share/7b4dbd89758a4f049ef6bb06e86b9680

Setup

  1. install dependecies

    pnpm pnpm install

    npm npm install

    yarn yarn install

  2. run migration files

    pnpm pnpm run migrate

    npm npm run migrate

    yarn yarn run migrate

  3. run seeding data to SQLite database

    pnpm pnpm run seed

    npm npm run seed

    yarn yarn run seed

  4. run prisma studio to check

    pnpm pnpm run studio

    npm npm run studio

    yarn yarn run studio


    prisma-studio

Challenge Questions

  1. count how many delivered order
  2. count how many processing order
  3. count how many delivered orders that have product a
  4. get all products that have price greater than 30
  5. get all products name that have price less than or equal 30, and select only name

hacktoberfest-prisma-challenge's People

Contributors

annibuliful avatar atippaz avatar bombnp avatar cyredhat avatar iamprompt avatar klemonade avatar nacnano avatar palmcm avatar phoowitchutanon avatar pongdev avatar saenyakorn avatar suphon-t avatar

Stargazers

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