Giter Site home page Giter Site logo

dzcode-io / dzcode.io Goto Github PK

View Code? Open in Web Editor NEW
113.0 9.0 41.0 14.63 MB

Website & mobile app for Algerian open-source community

Home Page: https://dzcode.io

License: MIT License

JavaScript 2.29% TypeScript 97.01% Dockerfile 0.11% HTML 0.45% CSS 0.14%
dzcode reactjs typescript community algeria nodejs openapi react-native expo hacktoberfest

dzcode.io's Introduction

dzcode.io

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

Apps:

Packages

Get Started

Perquisites

Make sure you have:

  • Git
  • Nodejs version 20 or higher (we recommend using volta over plain install or nvm)

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:
npm install
  • Run it locally by either:
npm run dev:web
npm run dev:api
npm run 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:

  • run web e2e tests by:
cd web && npm run e2e:dev

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:

{
  "files.associations": {
    "*.css": "tailwindcss"
  },
  "prettier.configPath": "packages/tooling/.prettierrc",
  "prettier.prettierPath": "./node_modules/prettier/index.cjs",
  "eslint.options": { "overrideConfigFile": "packages/tooling/eslint.config.mjs" },
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": "always",
    "source.fixAll.ts": "always"
  }
}

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 npm run 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

Follow these steps.

License

Licensed under the MIT license (twitter: @dzcode_io).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.