kamp.us web projects & packages
This repository is under heavy development, if you want to contribute either go
through package.json
file of each workspace and start familiarizing yourself
with the technologies we are using or join our discord server
and say hi to us at #kampus-projects channel.
kamp-us/monorepo
under your personal account.
usirin/monorepo
# Download Repository
git clone git@github.com:kamp-us/monorepo.git
# Move into repository
cd monorepo
npm ci
hosts
file/etc/hosts
file.127.0.0.1 localhost.kamp.us
127.0.0.1 pano.localhost.kamp.us
127.0.0.1 sozluk.localhost.kamp.us
127.0.0.1 gql.localhost.kamp.us
.env
files.env.example
files and rename them as .env
in the following folders: db/prisma
, apps/gql
, apps/kampus
.db/prisma
folder.cd db/prisma
docker-compose up -d
npm run prisma:generate
npm run prisma:push
npm run prisma:seed
# Runs "gql" and "kampus" apps so the platform can be alive with 1 command.
npm run web
# Runs all "dev" commands on each package inside the workspace
npm run dev
# Runs only "gql" server so backend work can be done separately.
npm run gql
/apps
: services & apps/db
: packages that is relevant to database/config
: packages that is relevant to configuration/packages
: internal (and maybe external in the future) npm packagesThese folders are registered as workspaces in package.json
If you haven't already install Volta, you can install install it with:
curl https://get.volta.sh | bash