Code Monkey home page Code Monkey logo

posse_website's Introduction

POSSE_website

クイズページ

POSSE _ クイズ

管理画面

POSSE_website Manager

概要

大学一年生の頃に所属していたプログラミング学習コミュニティの Web サイトを Vue3 + Express + TypeScript で再実装しました。

制作期間(予定)

  • 2023/06 - 08

残りの TODO

  • 招待メールの送信機能
  • サインイン機能
  • サインアップ機能

主な使用技術

フロントエンド

  • Vue3 (Composition API)
  • sass
  • Tailwind CSS
  • TypeScript
  • vite

バックエンド

  • Express
  • TypeScript
  • mysql
  • docker

構成 / デザインパターンなど

  • 成り行きでモノレポ的な感じになりました
    • web(Web サイトのフロントエンド)
    • manager(クイズの管理アプリ)
    • service(クイズや認証の API を配信するバックエンド)

フロントエンド

バックエンド

改善点

  • npm workspaces等を活用して、ちゃんとしたモノレポ環境を作る
  • eslint や prettier の設定の見直し
  • zod 等でバリデーションを行い、UX の向上を図る
  • API 設計やエラーハンドリングの理解不足
  • キャッシュなどを取り入れて、アプリケーションの高速化を図る
  • とはいえ、やはりバックエンドの知識が全体的に不足していると実感した

プロジェクトの始め方

web / manager

$ cd web / cd manager

パッケージのインストール

$ npm i

フロントエンドサーバーの起動

$ npm run dev

service

$ cd service

パッケージのインストール

$ npm i

バックエンドサーバーの起動

  • ターミナルを2つ開いて、それぞれコマンドを実行する
$ npm run watch
$ npm run dev

mysql の起動

$ docker compose up -d

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.