Giter Site home page Giter Site logo

sumonst21 / opencollective-frontend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opencollective/opencollective-frontend

0.0 1.0 0.0 49.84 MB

Open Collective Frontend. A React app powered by Next.js.

Home Page: https://opencollective.com

License: MIT License

Dockerfile 0.03% JavaScript 74.20% Shell 0.31% HTML 20.72% CSS 4.73%

opencollective-frontend's Introduction

Open Collective Frontend

Circle CI Slack Status Dependency Status Crowdin

Babel - Open Collective

Foreword

If you see a step below that could be improved (or is outdated), please update the instructions. We rarely go through this process ourselves, so your fresh pair of eyes and your recent experience with it, makes you the best candidate to improve them for other users. Thank you!

Development

Prerequisite

  1. Make sure you have Node.js version >= 10.
  • We recommend using nvm: nvm install.

Install

We recommend cloning the repository in a folder dedicated to opencollective projects.

git clone [email protected]:opencollective/opencollective-frontend.git opencollective/frontend
cd opencollective/frontend
npm install

Environment variables

This project requires an access to the Open Collective API.

By default, it will try to connect to the Open Collective staging API, you don't have to change anything.

In case you want to connect to the Open Collective API running locally:

Start

npm run dev

Tests

You can run the tests using npm test or more specifically:

  • npm run test:jest for pages and components
  • npm run test:e2e for end-to-end tests using Cypress

To update:

  • Jest snapshots: run npm run test:update
  • GraphQL schema for ESLint: run npm run graphql:get-schema

Styleguide

We use React-Styleguidist to develop and document our React components in isolation with styled-components and styled-system.

More info: docs/styleguide.md

Localization

Translating the interface doesn't require any technical skill, you can go on https://crowdin.com/project/opencollective and start translating right away!

We're currently looking for contributions for the following languages:

  • French
  • Spanish
  • Japanese

Want to add a new language for Open Collective? Contact us, we'll be happy to help you to set it up!

Contributing

Code style? Commit convention? Please check our Contributing guidelines.

TL;DR: we use Prettier and ESLint, we do like great commit messages and clean Git history.

Deployment

This project is currently deployed to staging and production with Heroku. To deploy, you need to be a core member of the Open Collective team.

More info: docs/deployment.md

Discussion

If you have any questions, ping us on Slack (https://slack.opencollective.org) or on Twitter (@opencollect).

opencollective-frontend's People

Contributors

xdamman avatar znarf avatar greenkeeper[bot] avatar betree avatar hipsterbrown avatar flickz avatar asood123 avatar clarete avatar dependabot-support avatar eloyekunle avatar marcogbarcellos avatar piamancini avatar dependabot-preview[bot] avatar alanna avatar noeldelgado avatar eatskolnikov avatar kewitz avatar johntitor avatar ykzts avatar gutofoletto avatar dariapow avatar litomore avatar richardlitt avatar hichamelkaddioui avatar yasulab avatar wooorm avatar thadguidry avatar shaunagm avatar over9001 avatar princesso avatar

Watchers

 avatar

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.