Coder Social home page Coder Social logo

nasa-hackathon-2023-yokohama's Introduction

NASAハッカソン

デプロイ先 [https://nasa-hackathon-2023-yokohama.vercel.app/]

インストール

まず以下のコマンドで依存関係をインストール

npm i

以下のコマンドでサーバーを起動

npm run dev

http://localhost:3000で起動する。

導入済みライブラリ

整形・コーディング規則

  • eslint
  • prettier

主要ライブラリ

便利系ライブラリ

  • react-hook-form(フォームを簡単に管理できる)
  • axios(REST APIの通信のため)

コーディング規則

関数

  • function文は使わずに、なるべくアロー関数で定義する

命名規則

  • snake_caseは基本的に使用しない(✖️user_data)
  • 変数名 と 関数名 は基本的に先頭小文字のcamelCase(⭕️ useTest, ✖️ use_test , UseTest)
  • コンポーネント名 と 型定義 は先頭大文字のPascalCase(⭕️ UserData, ✖️userData )

その他

  • ページ本体は pagesディレクトリ以下に記述し、ファイル名は[camelCase].tsxにする
  • ファイル名とページコンポーネントは同じ名前にする(ただしコンポーネント名はPascalCase、ページ名はcamelCase)
  • コンポーネントは components以下に記述し、ファイル名は[camelCase].tsxにする
  • ロジックだけを記述した関数は util 以下に記述し、[camelCase].tsにする(JSXを書かないので.tsxにしない!!)

nasa-hackathon-2023-yokohama's People

Contributors

kyo-s-s avatar miuye256 avatar rensanrenren avatar yudai04 avatar yudai1204 avatar zaurak52 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.