Code Monkey home page Code Monkey logo

brik-storefront's Introduction

BRIK-STOREFRONT

RUN INSTRUCTION

API

installing dependencies

cd api
yarn install
# or
npm install

set the environtment variable

cp .env.example .env

then change the value according to the example guide

initializing the database

npx prisma db push

populate db with seed data

npx prisma db seed

after all the step above success you can run the api server with command yarn dev for development or yarn build then yarn start for production. then open http://localhost:5001

CLIENT/STOREFRONT

installing dependencies

cd api
yarn install
# or
npm install

set the environtment variable

cp .env.example .env

then change the value according to the example guide, for API_URL use the value of the current running api server

after all the step above success you can run the api server with command yarn dev for development or yarn build then yarn start for production. then open http://localhost:5001

TODO

API

  • product api
    • product list api
    • paginate product list
    • product filter api
    • product search api
    • product detail api
    • create product api
    • edit product api
  • product-category api
    • get all product-category api
  • auth api

CLIENT

  • layout and styling
    • setup tailwindcss custom rules
    • navbar
    • footer
    • base layout
  • landing page
    • display main prpduct on landing page
    • display carrousel on lanidng page
  • product list page
    • product list
    • product filter
    • product pagination
    • product search
  • product detail page
  • admin page
    • delete product
    • edit product
    • add product
    • display product as data table

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.