2024-10-08 23:11:36 +03:00
|
|
|
|
# Sausage Store
|
2024-10-08 22:06:23 +02:00
|
|
|
|
|
2024-10-08 23:11:36 +03:00
|
|
|
|
![image](https://user-images.githubusercontent.com/9394918/121517767-69db8a80-c9f8-11eb-835a-e98ca07fd995.png)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Technologies used
|
|
|
|
|
|
|
|
|
|
* Frontend – TypeScript, Angular.
|
|
|
|
|
* Backend – Java 16, Spring Boot, Spring Data.
|
|
|
|
|
* Database – H2.
|
|
|
|
|
|
|
|
|
|
## Installation guide
|
|
|
|
|
### Backend
|
|
|
|
|
|
|
|
|
|
Install Java 16 and maven and run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd backend
|
|
|
|
|
mvn package
|
|
|
|
|
cd target
|
|
|
|
|
java -jar sausage-store-0.0.1-SNAPSHOT.jar
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Frontend
|
|
|
|
|
|
|
|
|
|
Install NodeJS and npm on your computer and run:
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd frontend
|
|
|
|
|
npm install
|
|
|
|
|
npm run build
|
|
|
|
|
npm install -g http-server
|
|
|
|
|
sudo http-server ./dist/frontend/ -p 80 --proxy http://localhost:8080
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Then open your browser and go to [http://localhost](http://localhost)
|