E-Commerce Website Using MERN Stack.
MERN 스택으로 구축된 이-커머스 SPA(싱글 페이지 어플리케이션) 입니다.
Front End design Using Bootstrap 5 and Custom CSS.
프론트엔드 디자인은 Bootstrap 5와 Custom CSS가 사용되었습니다.
Front End routing using React Router Dom and http communication between front and back using REST API.
프론트엔드 라우팅은 React Router Dom 그리고 프론트엔드와 벡엔드의 데이터 통신 방식은 REST API를 사용하였습니다.
State Management Using Redux and Redux Thunk.
프론트엔드의 상태 관리 매니지먼트는 Redux and Redux Thunk를 이용하였습니다.
Tech Stack
- React.js
- Node.js
- Express.js
- Redux
- Mongo DB Atlas
- Bootstrap 5
- React Router Dom
- JWT for Authorization (유저 인가)
Below is the screen Image for this project.
아래는 프로젝트의 간략한 이미지입니다.
Screen for desktop resolution.
- 루트 폴더와 frontend 폴더 각각에서 다음 명령어를 실행한다. npm install
- 루트 폴더 밑에 .env 파일을 만들고 자신의 secret value 를 기입한다.
JWT_SECRET=your_secret_goes_here
PAYPAL_CLIENT_ID=your_secret_goes_here
MONGODB_URL=your_secret_goes_here
- 루트폴더에서 npm start로 node js 서버를 구동한다. (localhost:5000)
- frontend 폴더로 가서 npm start로 react js 서버를 구동한다. (localhost:3000)
Link : https://whispering-cove-62911.herokuapp.com/
This project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject
, you can’t go back!
If you aren’t satisfied with the build tool and configuration choices, you can eject
at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject
will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.
You don’t have to ever use eject
. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.
This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting
This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size
This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app
This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration
This section has moved here: https://facebook.github.io/create-react-app/docs/deployment
This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify