Giter VIP home page Giter VIP logo

storage-app's Introduction

Storage app

This repository contains code of storage application.

  • Made by Aleksandr Aleksandrov

Short overview

This repository contains a project structure and all implemented functionality of back and front sides of storage app.

The project uses Spring Boot/Angular and can be built/deployed with Gradle.

Front-end side located under app-ui submodule

Pre-create user's login data could be changed in src/main/resources/admin.properties

(check AppConfig class for better understanding how it works in application)

Database

Database configuration could be founded in src/main/resources/application.properites

To run application you need to configure PostgreSQL database with following instructions:

  1. Create user CREATE USER ale WITH password 'ale';
  2. Create storagedb database CREATE DATABASE storagedb;
  3. Grant all privileges to user GRANT ALL PRIVILEGES ON DATABASE storagedb TO ale;

Run

Whole application (FE + BE) is running on port :8080

Proceed to app-ui and install dependencies npm i

Run application with following command:

gradlew bootRun - Windows

./gradlew bootRun - Linux

Logging

This project uses external slf4j lombok logging tool.

All logs are saved in gitignored log folder

API Endpoints

Proceed to http://localhost:8080/swagger-ui.html for swagger API documentation.

Testing

In total there are ~24 test cases for back end side.

You can type ./gradlew testEngine for filling UI with test data.

It will add some items to admin user

!NB make sure application is running!

Type ./gradlew test (gradlew test on windows) for running basic test cases

storage-app's People

Contributors

alekal1 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.