This project is a sample playground which i created to train on Full-stack web-dev with Angular/Spring Boot
- Angular
- mdbootstrap
- Spring Framework
- Spring Boot
- JPA
- Spring Data JPA
- Spring Security
Angular-front-end
cd chatty-front/
npm i --legacy-peer-deps
npm start
Spring-Boot-backend
cd chatty
./mvnw spring-boot:run
Database [PostgreSQL + Docker]
- Run the following commands
docker pull postgres:15-alpine
docker run --name postgres15 -p 5432:5432 -e POSTGRES_DB=chatty -e POSTGRES_USER=root -e POSTGRES_PASSWORD=root -d postgres:15-alpine
#To check db creation/login => docker exec -it postgres15 psql -U root chatty
-
Open any PostgreSQL Client GUI tool i.e. "pgAdmin" & execute the .sql script located @ ./database-files against the "chatty" db schemas
-
front-end App is accessed on: http://localhost:4200/
-
back-end App is accessed on: http://localhost:8080/api