Material-UI: A popular React UI framework
[Git] Git과 SourceTree를 이용한 협업 방법 (Git Flow)
client 구현 작업 완료 하고 나서 backend 부분 확인하고 연동 시에 모르는 거나 어려운 거 확인하고 월요일 밤 회의에서 질문!!!!!!!
sign-in
material-ui/docs/src/pages/getting-started/templates/sign-in at master · mui-org/material-ui
sign-in-side
material-ui/docs/src/pages/getting-started/templates/sign-in-side at master · mui-org/material-ui
sign-up
material-ui/docs/src/pages/getting-started/templates/sign-up at master · mui-org/material-ui
+++++ 지금 mongoDB로 되어있는 것 mariaDB로 바꿔야 함....
https://fe-flower.tistory.com/27
mariadb 시작/종료
https://velog.io/@govlmo91/mac에서-mysql-설치실행종료
~ brew services start mariadb 1 ✘ │ 13:37:12
==> Successfully started `mariadb` (label: homebrew.mxcl.mariadb)
~ brew services stop mariadb ✔ │ 13:37:22
Stopping `mariadb`... (might take a while)
==> Successfully stopped `mariadb` (label: homebrew.mxcl.mariadb)
root... password 관련 참고
https://toytvstory.tistory.com/1617
mysql 서버 접속 후 test 유저 생성 후 나가기~ 전체 과정
~ mysql -u root -p 1 ✘ │ 14:05:41
Enter password:
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 8.0.23 MySQL Community Server - GPL
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MySQL [(none)]> CREATE USER 'test'@'localhost' IDENTIFIED BY '9999';
Query OK, 0 rows affected (0.016 sec)
MySQL [(none)]> GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost' WITH GRANT OPTION;
Query OK, 0 rows affected (0.004 sec)
MySQL [(none)]> Ctrl-C -- exit!
Aborte
중간에 npm run start 입력 후 아래와 같은 오류 발생. start 명령 scripts에서 client 파일의 index.js 파일과 혼동해서 오류 발생. index.js 파일 위치를 scripts 에 상세하게 적어줌.
터미널에서 lsof 명령어로 현재 활성화된 프로세스 리스트 출력하는 명령어.
-i 옵션으로 특정 포트를 사용중인 프로세스 출력 가능
lsof -i TCP:5000
이후 나오는 프로세스의 PID 확인 후
kill -9 PID
하면 강제종료. 다시 돌아가서 npm run 해보기.
const { createProxyMiddleware } = require('http-proxy-middleware');
module.exports = function(app) {
app.use(
'/api',
createProxyMiddleware({
target: 'http://localhost:5000',
changeOrigin: true,
})
);
};
const proxy = require('http-proxy-middleware');
module.exports = function(app) {
app.use(
'/api',
proxy({
target: 'http://localhost:5000',
changeOrigin: true,
})
);
};
create-react-app 버전이 올라가면서 serviceWorker 가 missing 되었는데 코드에 serviceWorker를 그대로 사용해서 생긴 문제. reportWebVitals 쓰면 해결.