Skip to content

Commit

Permalink
Create monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeh committed May 11, 2024
1 parent f68a2f6 commit 4c60866
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 9 deletions.
30 changes: 29 additions & 1 deletion api/README.md
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
4-GROWTH API
# 4-GROWTH API

This project is built with NestJS.

## NestJS Version

The project uses NestJS version 10.0.0.

## Package Manager

The project uses `pnpm` as the package manager.

## Node Version

The project uses Node.js version 20.10.0 as specified in the `.nvmrc` file.

## Continuous Integration

The project uses GitHub Actions for continuous integration. The workflow for API tests is defined in `.github/workflows/api-tests.yml`. This workflow runs end-to-end tests on every push to the `api` directory and can also be manually triggered.

## Scripts

Here are some of the npm scripts that you can run:

- `pnpm build`: Compiles the TypeScript code
- `pnpm start`: Starts the application
- `pnpm start:dev`: Starts the application in watch mode
- `pnpm test`: Runs the tests
- `pnpm test:e2e`: Runs the end-to-end tests
2 changes: 1 addition & 1 deletion api/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "api",
"name": "4-growth-api",
"version": "0.0.1",
"description": "",
"author": "",
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "4-growth",
"name": "4-growth-client",
"version": "0.1.0",
"private": true,
"scripts": {
Expand Down
6 changes: 0 additions & 6 deletions client/pnpm-workspace.yaml

This file was deleted.

9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "4-growth",
"private": true,
"scripts": {
"install": "pnpm install",
"start:api": "pnpm --filter 4-growth-api run start",
"start:client": "pnpm --filter 4-growth-client run dev"
}
}
5 changes: 5 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pnpm-workspaces.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
packages:
- 'api/**'
- 'client/**'

0 comments on commit 4c60866

Please sign in to comment.