A simple technical challenge to test my skills. This application is client/server CRUD application written in Typescript, React, RxJS, MobX and Nestj, for a possibility to embark on a journey with Crunchyroll.
Make sure you have the following:
Make sure the runtime version is identical (to avoid unexpected shenenigans)
nvm use
From the root of the workspace.
pnpm i
Initialize & seed the database
Go to services\media-service-api\.env
and set the SEED_COUNT
to your desired value.
Default: 1000
pnpm db:init
Runs both the client & the api.
pnpm dev
Component | URL |
---|---|
App | http://localhost:3000 |
Storybook (WIP) | http://localhost:6006 |
API | http://localhost:4200 |
API Docs | http://localhost:4200/docs |
TBD
A brief, simplified overview of the architecture.
The client
and media-service-api
are encapsulated in this tiny monorepo with pnpm
Lints all the projects in the workspace.
pnpm lint
Formats all the projects in the workspace.
pnpm format
Lints all the projects in the workspace where the db:reset
alias is present.
pnpm db:reset
pnpm --filter=@crunchytest/client storybook