Git Product home page Git Product logo

oddle-jy-clone's Introduction

Oddle Front-end Challenge ๐Ÿ’ป

This project was created using create-react-app.


Local Development Setup

Perform the following steps to get started:

  1. Run npm install or yarn install to install dependencies.
  2. Run npm start or yarn start to start the development server.

Project Folder Strucutre

- src
    - api
    - components
        - elements
        - layout
    - images
    - pages
    - redux
    - App.js
    - index.js
- .eslintrc
- .prettierrc
- jsconfig.json
- package.json
- README.md

Pages: Contains all the pages of the application.

Components: Contains all the components of the application.

Images: Contains all the static images of the application.

The rest are self explanatory.


Libraries Used

Some of the libraries used in this project are listed below:

The other packages can be found in the package.json file.

To find more information about the libraries used, please visit their respective GitHub repositories.


Code Style Configuration

ESLint configuration

ESLint config can be found in the .eslintrc file

Few of the ESLint Plugins Used:

  • eslint-plugin-prettier: To disable conflicts with Prettier
  • eslint-plugin-sort-destructure-keys: To sort the keys of destructured objects
  • eslint-plugin-import: Custom sorting of import statements

Prettier configuration

Prettier config can be found in the .prettierrc file

{
    "tabWidth": 2,
    "useTabs": true,
    "trailingComma": "all",
    "arrowParens": "always",
    "bracketSpacing": true,
    "singleQuote": true,
    "jsxSingleQuote": true,
    "endOfLine": "lf",
    "printWidth": 80
}

jsconfig

A jsconfig.json file is created to set the base url for the imports.

{
  "compilerOptions": {
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "baseUrl": "src"
  }
}

Deployment


Any pushed made to the master branch will be deployed to the gh-pages branch through GitHub Actions Flow. The configuration can be found in the .github/workflows/main.yml file.

oddle-jy-clone's People

Contributors

jy411 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.