Giter Site home page Giter Site logo

rojberr / honey Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 3.59 MB

This is honey project - a simple web shop where you can buy delicious honey! ๐Ÿ๐Ÿฏ Take a look at eCommerce angular webshop + Spring Boot API

Home Page: https://jaybeehoney.vercel.app/

Procfile 0.15% Java 68.59% JavaScript 1.41% TypeScript 6.04% CSS 5.13% HTML 18.55% Sass 0.08% Shell 0.05%
angular ecommerce-website spring-boot

honey's Introduction

honey

This is an interactive shop site, where you can buy honey related things.

Made by me, mostly for me. One day we may go live, cause my family owns a bee-garden.

Photo by Anete Lusina from Pexels

Usage ๐Ÿ’ก

This API is responsible for eCommerce webshop BACKEND. To use it you can send requests at the host ๐Ÿ‘‰ https://jaybeehoney-api.herokuapp.com/ Please remember that this API is not meant to be used with your browser

Try (Heroku free tier apps sleep after 30 minutes of inactivity and need a minute to wake up):

curl -X POST https://jaybeehoney-api.herokuapp.com/init  

img.png

And then:

curl -X GET https://jaybeehoney-api.herokuapp.com/product

img_1.png

Feel free to edit it and use it for your own eCommerce website. ๐Ÿ›’ Functions like ordering are already included!

Postgres Database

This web application uses local / Heroku Postgres Database.

This API automatically connects to the local PostgreSQL using Spring Profiles. When it gets deployed to Heroku it will use prod profile connecting to Heroku PostgreSQL database.

To run it locally, use:

  1. cd docker (to get inside of /docker/ folder)
cd docker
  1. docker-compose up -d (to run our database configured in docker-compose.yml)
docker-compose up -d
  1. Open the API in your favorite IDE (I suggest IntelliJ ๐Ÿค– ) and run it!
  2. The connection ๐Ÿ”— will be established automatically using env from docker-compose.yml

Swagger - API Documentation

The REST API was documented and can be found here: https://rojberr.github.io/honey-swagger/ (deprecated, use the one stated below) The documentation was created using SpringFox Boot Starter tool.

Another dependency was added, and not Swagger Honey API documentation can be accessed after launching the application and typing: http://localhost:8080/swagger-ui.html in your browser address field. :)

Swagger image

Git flow

This repo is developed using gitflow workflow. To whole project consists of development, master, release and feature branches.

The latest code is merged into development branch.

TODO

  1. ...

UML

Changes

Author

honey's People

Contributors

rojberr 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.