commit 5d101fb4a3692b35274fd469c6af3e49d3bf81ca Author: onotolie Date: Wed Oct 23 07:49:38 2024 +0200 Загрузить файлы в «/» diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..d2f2961 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2021 Dmitrii Sugrobov + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..434a5ba --- /dev/null +++ b/README.md @@ -0,0 +1,36 @@ +# Sausage Store + +![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) diff --git a/misc.xml b/misc.xml new file mode 100644 index 0000000..d56657a --- /dev/null +++ b/misc.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/modules.xml b/modules.xml new file mode 100644 index 0000000..2f415fe --- /dev/null +++ b/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/sausage-store.iml b/sausage-store.iml new file mode 100644 index 0000000..20ede63 --- /dev/null +++ b/sausage-store.iml @@ -0,0 +1,16 @@ + + + + + + + + + + + \ No newline at end of file