Skip to content

Luuwa/Monorepo

 
 

Repository files navigation

@kampus/monorepo

kamp.us web projects & packages

Before starting

  • The languages we use in this repo:
    • Typescript
  • Join our discord at https://discord.kamp.us
  • We use #kampus-projects channel for onboarding people to the project.
  • Talk to us so we can figure out a plan together what would be the best way for you to contribute to the project.
  • For any questions use this channel so we can help you.

How to start

  • Fork kamp-us/monorepo under your personal account.
    • eg: usirin/monorepo
  • Clone the project to your local computer:
// Download Repository
git clone [email protected]:kamp-us/monorepo.git
// Move into repository
cd monorepo

Structure

  • /apps: services & apps
    • /gql: backend service for the applications
    • /kampus: home of kampus, where you can find sozluk and pano
    • /ui: all the ui elements source with storybook
  • /db: packages that is relevant to database
    • /prisma: prisma client for kampus mysql db
  • '/config': packages that is relevant to configuration
    • /eslint: common eslint configuration.
  • /packages: internal (and maybe external in the future) npm packages
    • /relay: common relay configuration
    • /sozluk-content: where contents of sozluk are
    • /tailwind: common tailwind configuration as a tailwind plugin
    • /ui: common ui elements

These folders are registered as workspaces in package.json

Running the projects

Use Correct Node Version

If you haven't already install Volta, you can install install it with:

curl https://get.volta.sh | bash

Setup projects

Install dependencies and build all projects.

// Install all the dependencies use -w or --workspace for workspace specific installs
npm install
// Builds all the applications in the monorepo
npx turbo build

Documentation for each app & package

Apps

Packages

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 94.0%
  • MDX 2.9%
  • JavaScript 1.7%
  • Other 1.4%