Skip to content

coctails-api/coctails

Repository files navigation

Coctails-api 🍸

Technologies Notes Roles External APIs Setting up a project App preview Envs IMPORTANT!

🔧 Stack

Java Spring boot Hibernate PostgreSQL Swagger Angular HTML5 CSS3 Docker Rest API

📄 Some notes

Note It is a REST API application that aims to help the user find recipes to make drinks

At the moment in application we are able to:

  • Register and sign in (JWT token included)
  • Registration must be confirmed by email
  • Generate new confirmation code
  • Manage discount codes for orders

🔨 Roles

  • USER - default role (basic functions on the website)
  • ADMIN - performs administrative and management functions

External APIs

Setting Up a Project (independent terminals)

Spring boot

Run/Debug Configuration
In scope Build and run add com.coctails.CoctailsApplication

Angular (localhost:4200):

cd /client/src/app
ng serve

in case of error "ng is not recognized" please use: npm install -g @angular/cli

Maildev (0.0.0.0:1080):

maildev

🗞️ App preview

Zrzut ekranu 2023-01-19 o 10 44 42 Zrzut ekranu 2023-01-23 o 21 15 15

🔒 Environment variables

Note Check out application.properties and application.yml files

Note Lazy loading for admin panel

IMPORTANT

Application is being updated every week. Check change.log for more details what has been changes. It's not final version of readmie.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published