Giter Club home page Giter Club logo

fxhash-website's Introduction

fxhash front-end

This project is the front-end of fxhash. The front-end uses Nextjs, a React framework. If you want to contribute, being familiar with React might be required. However, Nextjs is pretty easy to pick-up knowing React ! Just get familiar with the basic concepts in their doc and you're good to go.

Installation

git clone https://github.com/fxhash/fxhash-website

Go to the project directory

npm install
# or
yarn install

Warning

The front-end is set up to run against the main fxhash API and the contracts on the mainnet so BE CAREFUL. If you buy a token using this front-end running on your local machine using your wallet, it will be as if you ran the same operation on the official website.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

How to contribute

You can find opened issues on the https://github.com/fxhash/fxhash-website/issues tab. If you want to implement a feature, please check first if an issue is opened and see what needs to be implemented in that regard. If no issue is opened, feel free to implement your feature as you wish.

Workflow

  • fork the dev branch of this repo
  • create a branch to implement a feature or fix a bug
  • when done, push the branch to your git repository fork
  • create a pull request againts the dev branch
  • the team will review it, and either request changes or merge it

If you find a bug with the front end, you can create an issue.

Branch naming convention

  • feature/_: add a feature
  • change/_: a change on a particular feature
  • bug/_: fix a bug

Stack used

Project structure

  • /articles [deprecated]: markdown files, generated in html at build time, they populate the about tab of the website
  • /components: reusable components used multiple times in the app
  • /containers: bigger building block components. They often use multiple components and have some more complexe logic
  • /context: react context
  • /doc: the articles from the doc - website doc is derived from this folder
  • /hooks: react hooks
  • /pages: the different pages of the website (see nextjs doc)
  • /queries: graphQL queries (not all of them are in there, to be done)
  • /services: modules to interact with external services
  • /styles: the generic styles of the app
  • /types: type definitions
  • /utils: general-purpose utility functions

fxhash-website's People

Contributors

11qu1d avatar adaptajay avatar arnesund avatar c-09-07 avatar cerfio avatar ciphrd avatar dtrenz avatar gemn avatar huang47 avatar l-a avatar laurent-h avatar liamegan avatar maerzhase avatar percentcer 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.