Skip to content

awakelife93/express-boilerplate

Repository files navigation

Express Boilerplate

React Client + React Admin + Gateway Server + API Server + Style Server

Architecture

Client Repository

https://github.com/awakelife93/react-boilerplate

Admin Repository

https://github.com/awakelife93/react-admin-boilerplate

Gateway Server Repository

https://github.com/awakelife93/spring-boot-api-gateway

Style Server Repository

https://github.com/awakelife93/express-design-system-boilerplate

[Note]

Description

1. Common preprocessing and data checking is handled by middleware. (src/lib/middleware)
2. This project did not create a separate Dto.
3. The default environment for build and code level is the localhost environment.
4. This project is oriented towards the Data Mapper pattern, not the Active Record pattern.
5. Test data setup is false by default. (config.isSetUpTestData)

Author

2020.05.14 ->
Author: Hyunwoo Park

Getting Started

1. yarn install
2. yarn start
3. If you run it with docker compose Please check each container environment.
  3-1. docker-compose.app.yml = Create and run only nodejs(express) container.
  3-2. docker-compose.full.system.yml = Create and run each container for mysql, redis, and nodejs(express)
  3-3. Docker environment variables are managed and used in src/config.