Skip to content

Directory Structure

Rhee Jung In edited this page Dec 9, 2021 · 4 revisions
client                 // React application
|- public
|- src
  |- assets            // images, logos
  |- components        // react components
  |- context           // contexts and context providers
  |- data              // mock data used for development
  |- hooks             // custom hooks
  |- pages             // pages used by react-router
  |- style             // css files
  |- types             // type definitions
server/                // Server
|- src
  |- config            // configuration & constants
  |- data              // Data structures that manages server state
  |- entity            // TypeORM Schema
  |- externalAPI       // external api calling functions
  |- ioHandler         // Socket.io event handlers
  |- loader            // stuff that should be loaded & configured at server start
  |- routes            // express app routes
  |- types             // type definitions
Clone this wiki locally