Skip to content

Khenziii/khenzii-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

khenzii-dev

This README is not yet ready, however I'll write it eventually..

Dev Env Setup

Installation

You'll need to get those tools:

  1. docker, with compose plugin.
  2. node.js, with yarn.

After installing them, fetch app's dependencies:

$ yarn install

And finish the setup with:

$ yarn prepare

Usage

Start third party services:

$ docker compose up

If you don't want to lose control over your terminal, you can use the --detach flag

Start the app:

$ yarn dev

Start UI library:

$ yarn storybook

And the DB console:

$ yarn db-studio

After running all those commands, you'll have access to these webpages:

  1. Website - localhost:3000
  2. UI library (storybook) - localhost:3001
  3. DB console (prisma studio) - localhost:3002
  4. DB (mongo) - localhost:27017
  5. Object storage console - localhost:3003
  6. Object storage (minio) - localhost:9000

Testing

Run every test:

$ yarn test

Only E2E tests:

$ yarn e2e-tests

Only unit tests:

$ yarn unit-tests