Giter Site home page Giter Site logo

ecshop_front_react's Introduction

概要

本リポジトリはB2C向けECショップのクローンWEBアプリケーションです。 杏○堂ネットスーパーのようなサイトを想定しています。 バックエンド:SpringBoot RESTAPI フロントエンド:TypeScript Next.js で作られています。 まだ開発中で現在はデザインの改善を行っています。

機能

商品機能

商品をカテゴリーごとに表示

顧客機能

顧客の登録 顧客のログイン、ログアウト

認可認証方式:Authorizationヘッダを使った認証 Bearer認証  アクセストークンのフォーマットはJWT(Json Web Token)です。

買い物カゴ機能

追加、数量変更、買い物かごから1件だけ取り除く、買い物カゴを全削除

決済機能

Stripeを使った決済機能。

開発環境

2023/02/01時点での情報

名称 バージョン 説明
Window 10 OS
VisualStudioCode IDE
TypeScript 言語
React ライブラリ
Next.js ReactベースのWebフレームワーク
sytled-jsx varcel製のcssの記法
axios HTTP通信ライブラリ RESTAPIに使う
TypeDoc Type
StoryBook UI開発ツール
Jest ユニットテストライブラリ
React-Test-Library ユニットテストライブラリ

フォルダ構成

フォルダパス 説明
__tests___ テスト系のファイル置き場
.next next.jsのビルド結果
.storybook storybookの設定ファイル置き場
component Reactで作ったUIコンポーネント置き場
pages Next.js標準の機能
pages/develop 開発の最中で
public
service
stories storybookのプロダクトコードの置き場1
types 型定義ファイルの置き場

起動方法

アプリケーション起動方法

※バックエンドアプリケーションが起動していることが前提です。

npm run dev

http://127.0.0.1:3000/を開く

StoryBookでの起動

StoryBookを使って

npm run storybook

http://127.0.0.1:6006/を開く

jestでのユニットテスト実行方法

npm run test

ターミナル側にjestのCLIメニューが現れます。

参考資料

開発する上で役に立った公式ドキュメント以外の資料

書籍:

ecshop_front_react's People

Contributors

rya234 avatar

Stargazers

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