Skip to content
No description or website provided.
Java Other
  1. Java 98.2%
  2. Other 1.8%
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
config
frontend @ e2a4351
gradle/wrapper
recommendation @ 36c7b49
reverse-proxy
src/main
.gitignore
.gitmodules
Dockerfile
Dockerfile-logstash
Makefile
README.md
build.gradle
docker-compose.yaml
gradlew
gradlew.bat
login-sinup.postman_collection.json
setenv.sh
settings.gradle

README.md

ecommerce

Online web based ecommerce system.

CircleCI

..

Getting started.

  • Clone this repo using git clone git@github.com:dineshdb/ecommerce.git
  • Update all submodules using git submodule update --init --recursive
  • Build the project using ./gradlew build. It will build the backend components.
  • Create database from here
  • Update environment variables using source setenv.sh
  • Run the project using ./gradlew bootRun. Go to http://localhost:8080 to see the output.
  • To sync new updates git pull --recurse-submodules.

Running the app.

Following steps automagically build required files

  • Setup all dependencies using make setup
  • Run api-server using make run-api.
  • Run recommendation server using make run-rec.
  • Run reverse proxy using make run-proxy.

Create Database

Install mysql or mariadb and get into its root shell. Then execute:

mysql> create database auction_db; -- Create the new database
mysql> create user 'auction_user'@'localhost' identified by 'ThePassword'; -- Creates the user
mysql> grant all on auction_db.* to 'auction_user'@'localhost'; -- Gives all the privileges to the new user on the newly created database

Note: Don't forget to change password in production.

Authors

You can’t perform that action at this time.