we are using turbo repo to hold both frontend and backend you can access
turbo
cli or refer to doc for all list of features
yarn
or npm i
inside frontend
folder or on the root
resides inside apps/frontend, holds the following
- redux/reducers redux/actions
- hooks
- apps/add apps/edit apps/page apps/components
you may start it using npm run dev
or yarn dev
and test it using yarn test
PORT 3000
is using nestjs
to avail migrations
database
services
swaggers
tests
and more layers. you may use nest
cli or refer to the docs
yarn
or npm i
inside backend
folder or on the root
- tests
- src
- src/database src/dto <-- user object, and database actions
- src/pipe <-- request middleware validations
- src/users <-- controller
- app.module.ts app.service.ts main.ts <-- primary to spawn and handle database and services
you may start it using npm run dev
or yarn dev
and test it using yarn test
PORT 3001
backend is using sqlite3 memory database that is using DTO to spawn and validate users/data on each process start, so we can easily test,debug,run our application,
since we are using turbo
you may run the pipeline command on root to run and trigger both apps in one go
such as yarn dev
in root would run on both frontend
and backend
same goes for test