MCPcopy Index your code
hub / github.com/dzcode-io/dzcode.io

github.com/dzcode-io/dzcode.io @test-release-pr435.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release test-release-pr435.0 ↗ · + Follow
294 symbols 871 edges 198 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

dzcode.io

The code for dzcode.io, a website for Algerian open-source community.

Meta

You can find more about each folder by clicking on the folder name

Apps Coverage Production URL Staging URL Local URL
web codecov dzcode.io stage.dzcode.io localhost:8080
data codecov data.dzcode.io data.stage.dzcode.io localhost:9090
api codecov api.dzcode.io/docs api-stage.dzcode.io/docs localhost:7070/docs
mobile codecov Android | iOS | Expo localhost:19002
Packages
models codecov
utils codecov
tooling codecov

Get Started

Perquisites

Make sure you have:

  • Git
  • Nodejs version 14 or higher (we recommend using nvm)
  • Yarn version 1.4.2 or higher

Run it locally

  • Open terminal and clone the repo:
 git clone https://github.com/dzcode-io/dzcode.io.git
  • Make sure you are in the project root:
 cd dzcode.io
  • Install dependencies:
yarn
  • Run it locally by either:
yarn dev:web
yarn dev:mobile
yarn dev:all

Note

In ./api, keep in mind that you have limited calls to Github Api (60 calls per hour), the FetchService is doing a great job at caching theses calls so it doesn't unnecessarily consume Github API quota. If you wish to extend the limit from 60 to 5000, simply create a Github Personal Access Token (make sure it has Access public repositories checked), and set it in ./api/.env like this:

GITHUB_TOKEN=Paste_You_Token_Here

Contributing

To get started see the contributing guidelines.

If you use VSCode, please make sure to have a .vscode/settings.json file with the content:

{
  "prettier.configPath": "./packages/tooling/.prettierrc",
  "eslint.options": { "overrideConfigFile": "./packages/tooling/.eslintrc.json" }
}

Before You Create a Pull Request

  • If you already forked the repository, please make sure your fork is up-to-date, following this simple steps.
  • Please make sure your code follows the style guideline defined in this repo, for that simply run yarn lint:fix to ensure the conformity. This process should happen automatically whenever you commit your changes, but you can always do it manually when your Pull Request checks are failing due to linting errors.

List Your Project or Add/Edit Article

License

Copyright (c) 2021 DzCode i/o (twitter: @dzcode_io) Licensed under the MIT license.

Extension points exported contracts — how you extend this code

GithubUser (Interface)
(no doc) [1 implementers]
api/src/app/types/legacy.ts
QueueObject (Interface)
(no doc)
packages/utils/src/concurrency/index.ts
Collection (Interface)
(no doc)
data/src/get/collection.ts
SidebarTreeItem (Interface)
(no doc)
web/src/apps/main/types/index.ts
AppbarProps (Interface)
(no doc)
mobile/src/components/app-bar/index.tsx
FetchConfig (Interface)
(no doc)
api/src/fetch/types.ts
ReactMarkdown (Interface)
(no doc)
web/src/apps/main/components/markdown/index.tsx
DZCodeLoadingProps (Interface)
(no doc)
mobile/src/components/loading/index.tsx

Core symbols most depended-on inside this repo

log
called by 30
api/src/logger/service.ts
error
called by 15
api/src/logger/service.ts
fetchV2
called by 13
web/src/common/utils/fetch/index.ts
find
called by 11
api/src/team/repository.ts
runDTOTestCases
called by 7
packages/models/src/_test/index.ts
fetchV2
called by 6
mobile/src/utils/fetch/index.ts
getCollection
called by 5
data/src/get/collection.ts
fsConfig
called by 4
packages/utils/src/config/index.ts

Shape

Function 134
Class 70
Interface 63
Method 27

Languages

TypeScript100%

Modules by API surface

api/src/contribution/types.ts9 symbols
api/src/logger/service.ts8 symbols
api/src/github/types.ts7 symbols
web/src/apps/main/components/speed-dial/index.tsx5 symbols
web/src/apps/main/components/sidebar/index.tsx5 symbols
packages/utils/src/concurrency/index.ts5 symbols
api/src/app/types/legacy.ts5 symbols
web/src/apps/main/redux/actions/documentation-page/index.ts4 symbols
web/src/apps/main/redux/actions/articles-page/index.ts4 symbols
web/src/apps/main/pages/contribute/filters/index.tsx4 symbols
api/src/team/repository.ts4 symbols
api/src/team/controller.ts4 symbols

For agents

$ claude mcp add dzcode.io \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact