dzcode-io / dzcode.io

Website & mobile app for Algerian open-source community
https://dzcode.io
MIT License
114 stars 42 forks source link
algeria community dzcode expo hacktoberfest nodejs openapi react-native reactjs typescript

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
api codecov api.dzcode.io/docs api-stage.dzcode.io/docs localhost:7070/docs
web codecov dzcode.io stage.dzcode.io localhost:8080
mobile codecov Android | iOS | Expo run yarn --cwd=mobile start:expo
data codecov
Packages
models codecov
utils codecov
ui codecov
tooling
ui-mobile codecov

Get Started

Perquisites

Make sure you have:

Run it locally

 git clone https://github.com/dzcode-io/dzcode.io.git
 cd dzcode.io
yarn
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

Run e2e locally

Make sure you are in the project root, then:

yarn e2e:web

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" },
  "editor.codeActionsOnSave": {
    "source.fixAll": true
  }
}

Before You Create a Pull Request

List Your Project or Add/Edit Article

License

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