https://github.com/notyusheng/learn-full-stack
Full-stack application of an e-commerce site implemented with React and hosted by Node.js. Data storage with Elasticsearch and Kibana for visualization and management
https://github.com/notyusheng/learn-full-stack
bootstrap docker elasticsearch kibana nodejs react
Last synced: 5 months ago
JSON representation
Full-stack application of an e-commerce site implemented with React and hosted by Node.js. Data storage with Elasticsearch and Kibana for visualization and management
- Host: GitHub
- URL: https://github.com/notyusheng/learn-full-stack
- Owner: NotYuSheng
- License: mit
- Created: 2024-08-02T15:18:15.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-07T10:27:26.000Z (almost 2 years ago)
- Last Synced: 2025-07-10T03:22:21.157Z (12 months ago)
- Topics: bootstrap, docker, elasticsearch, kibana, nodejs, react
- Language: JavaScript
- Homepage:
- Size: 38.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Learn-Full-Stack

> [!NOTE]
This project is currently under development.
## Host Environment
- Project built on Kali Linux VM
## Tools required
- **Visual Studio**: [[Installation Guide](https://code.visualstudio.com/docs/setup/linux)]: Linux, `.deb` version.
- **Docker**: [[Installation Guide](https://docs.docker.com/engine/install/)]
## Usage
1. Clone this repository and navigate to project folder
```
git clone https://github.com/NotYuSheng/Learn-Full-Stack.git
cd Learn-Full-Stack
```
2. Build the Docker images:
```
docker-compose build
```
3. Run images
```
docker-compose up -d
```
4. Access webpage from host (Define port number in `.env`)
```
:8080
```
Access Kibana dashboard from host
```
:5601
```
## Run as developer
### Frontend
```
cd frontend
docker build -f Dockerfile.dev -t frontend-dev .
docker run -d -p 3000:3000 -v $(pwd):/app frontend-dev
```
### Manually installing npm pakages
```
sudo apt install nodejs
curl -L https://npmjs.org/install.sh | sudo sh
```