Todo Service Web App to share your course!
- A web application considered reactive.
- Enable the use of the required service, such as api-gateway.
- The wire frame is designed by Adobe XD and can be found at prototyping.
- node:v14.16.1
- vscode
- next.js
- docker
- axios
- recoil
- styled-components
- Install the required dependencies with
npm i
. - If necessary, Change the calling address of the service in
env.development
.- When calling an API in a local environment, the API service should be run.
- The APIs can be found at belf-kr/repository and how to run the server is written at
README.md
.
- Start nextjs with
npm run dev
.
Build the docker image manually and run
docker-compose
to avoid unclear errorError: Parsing error: Cannot destruction property 'isTypeVariable' of 'undefined'
docker build -t belf-front-server . --file=Dockerfile.dev
docker-compose up -d
Enter the command above to create a docker image and then create a container.
The deployment environment is separated by qa
and prod
and must be called to the endpoint of the API for each environment.
To this end, we can build the image by injecting variables suitable for the deployment environment separated by env.*
and Dockerfile*
.
./
├── assets
├── components
├── data
├── hooks
├── layouts
├── libs
├── pages
├── public
├── states
├── styles
└── theme
- assets : icon, and many other assets
- components : components
- data : temporary json data
- hooks : all custom hooks
- layouts : all layout components
- libs : functional methods (including axios)
- pages : External exposure page
- public : static esset
- states : Recoil global status
- styles : style
- theme : Theme Style