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