1.0.4 • Published 2 years ago
snowball-josys-devices-commons v1.0.4
Josys Device Commons
Prisma Schema
src/adapters/persistence/prisma/models/: Contains Prisma schema files for different database systems.src/adapters/persistence/prisma/models/mysql: Prisma schema for MySQL.src/adapters/persistence/prisma/models/mysql/schema.prisma: The Prisma schema for MySQL.
Available Scripts
The project's package.json includes the following scripts:
start: Launches the application usingts-node.build: Compiles TypeScript files into JavaScript.lint: Lints the code using ESLint.test: Executes tests using Jest.
You can modify or add scripts to cater to your development workflow.
Getting Started
- Clone the repository using
git clone. - Install dependencies using
npm install. - Configure your database connections as needed in Prisma schema files, check env.example file to create .env file.
- Utilize the provided scripts for starting, building, testing, and linting
Installation
$ npm installGenerate MySQL Client
$ npm run prisma:generate:mysql_client