Modela

What is it ?

A platform for matching between Actor and Casting recruiting for acting works

Project Structure

Apps

Packages

  • database: prisma interface which is used to communicate with postgres database and data population utility functions
  • dtos: class-based DTOS which are used across application (web and api)
  • eslint-config-custom: eslint configurations (includes eslint-config-next and eslint-config-prettier)
  • tsconfig: tsconfig.jsons used throughout the monorepo
  • frontend-optimizer: simple typescript to optimize web bundle size by injecting unused module with empty stub

Utilities

This turborepo has some additional tools already setup for you:

Setup

To setup all apps and packages. First, run the following command:

pnpm install

After that, copy .env.example from both apps/web and apps/api to new file .env and fill the information

If you want to generate and populate a database, run the following command:

cd packages/database
pnpm run db:seed

Build

To build all apps and packages, run the following command:

pnpm run build

Develop

To develop all apps and packages, run the following command:

pnpm run dev