Skip to content

Latest commit

Β 

History

History
109 lines (66 loc) Β· 1.95 KB

File metadata and controls

109 lines (66 loc) Β· 1.95 KB

VALKYLIT - JHipster E-COMMERCE PROJECT

πŸ§‘β€πŸ’» Description

This repo contain all code for M2 GI Ecommerce project

Valkylit is a jhipster monolithic project using :

  • Angular for client-side application
  • Java Spring Boot for server-side application
  • PostgreSQL databse

πŸŽ‰ Getting started

πŸ’Ώ Prerequisites

  • Node.js LTS
  • Java 17 or 21 LTS
  • postgres (optionnal to handle db)
  • docker (used for build)

πŸ“¦ Installation

Client-side setup :

open a terminal in the root project directory and run :

npm i

Server-side setup :

open a terminal in the root project directory and run :

./mvnw install

Database setup :

There is two way to handle database setup

1. Configure local postgres data base :

Create DB (above the database valkylit owned by user postgres)

psql -U postgres
CREATE DATABASE valkylit;

change src/main/ressources/config/application-dev.yml configuration :

  datasource:
    type: com.zaxxer.hikari.HikariDataSource
    url: jdbc:postgresql://localhost:5432/{db_name}
    username: {user_name}
    password:

TODO ADD FIXTURES SCRIPT TO LOAD MOCKED DATA

2. Or run db in docker container :

change server configuration :

TODO

then run :

docker-compose -f src/main/docker/app.yml up

⏯️ Startup

Terminal 1 : npm start

Terminal 2 : ./mvnw

Start postgres server or run the databse container

πŸš€ Deployment

TODO

πŸ“ Documentation

Devs

πŸ”— Useful links