Squashed commit of the following:
commit 0cf879b38318f9b27a74ddf556ea02f49ab8ea02
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 14:12:17 2023 +0300
apps/api: add swagger
commit 5d99d2bbbc186e40bfcd8a4aa84ea57e76f8d046
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 12:50:38 2023 +0300
apps/api: rename users module -> account
commit 724d8ccf2844109593567dc004bd0338b9a5d64c
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 12:29:48 2023 +0300
apps/api: add users functional
commit 9c7665440623a7bc8780186b0f4aeb86039b7e3f
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 00:21:15 2023 +0300
docker-compose.yml: fix mongo volume path
commit bc82c05afd3b8829b48b2a956398b05ef15bd361
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 00:18:37 2023 +0300
docker-compose.yml: add mongo
commit d372007e0e841b1ca0fc89acf5bdf98c2a27fe72
Author: vchikalkin <djchikalkin@gmail.com>
Date: Wed Nov 1 00:06:12 2023 +0300
apps/api: move /auth method to root
commit a42aa89aec567845d26748d43fae5554e8a29e6c
Author: vchikalkin <djchikalkin@gmail.com>
Date: Tue Oct 31 21:58:39 2023 +0300
apps/api: move redis caching feature to ldap module
commit 01422661e82f82fd8080a760fe30428247517c9b
Author: vchikalkin <djchikalkin@gmail.com>
Date: Tue Oct 31 17:50:55 2023 +0300
apps/api: remove apps controller & service
commit e0f9893a1aea546839086e84940adb820583be27
Author: vchikalkin <djchikalkin@gmail.com>
Date: Tue Oct 31 17:49:26 2023 +0300
apps/api: rename authModule -> ldapModule
commit f1114cb703c4759d2b2b899031182adace81f898
Author: vchikalkin <djchikalkin@gmail.com>
Date: Tue Oct 31 17:29:01 2023 +0300
apps/api: remove ldap module and replace with utils
commit a8179a324a23e4553ce0a58de02ad303ce49ca1e
Author: vchikalkin <djchikalkin@gmail.com>
Date: Tue Oct 31 16:30:15 2023 +0300
apps/api: add CRUD account feature
Turborepo starter
This is an official Yarn v1 starter turborepo.
What's inside?
This turborepo uses Yarn as a package manager. It includes the following packages/apps:
Apps and Packages
docs: a Next.js appweb: another Next.js appui: a stub React component library shared by bothwebanddocsapplicationseslint-config-custom:eslintconfigurations (includeseslint-config-nextandeslint-config-prettier)tsconfig:tsconfig.jsons used throughout the monorepo
Each package/app is 100% TypeScript.
Utilities
This turborepo has some additional tools already setup for you:
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Build
To build all apps and packages, run the following command:
cd my-turborepo
yarn run build
Develop
To develop all apps and packages, run the following command:
cd my-turborepo
yarn run dev
Remote Caching
Turborepo can use a technique known as Remote Caching to share cache artifacts across machines, enabling you to share build caches with your team and CI/CD pipelines.
By default, Turborepo will cache locally. To enable Remote Caching you will need an account with Vercel. If you don't have an account you can create one, then enter the following commands:
cd my-turborepo
npx turbo login
This will authenticate the Turborepo CLI with your Vercel account.
Next, you can link your Turborepo to your Remote Cache by running the following command from the root of your turborepo:
npx turbo link
Useful Links
Learn more about the power of Turborepo: