Skip to content

EricklisCruz/ImpactUs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMPACT US

I'm building an API REST for an e-commerce called by Impact Us. In this e-commerce you can have a common user and an adminstrator user. The common user can create a user, look for products, add in a shipping cart and see your products. An Administrator can have an account, add products to clients buy, remove products and other things.

🛠️ Building with:

  • Java
  • Spring Boot
  • PostgreSQL
  • JPA
  • Hibernate
  • Spring Security
  • CI (GitHub Actions)

📋 Requiriments

  1. Java - 17
  2. Maven - 3.x.x
  3. MySQL
  4. IDE (Intellij IDEA or Eclipse) I use Intellij. Just pick one

Steps to setup

  1. Clone the application
    git@github.com:EricklisCruz/ImpactUs.git
  2. Create MySQL database
    create database impact_us
  3. Change MySQL username and password

Testing API

You can test using Postman or Insomnia. I particularly use Postman. Just pick one and start using it

  1. Create you credentials: email, password, you can be an admin or an costumer just pick one (USER_ROLE or ADMIN_ROLE)

    image

  2. Login image

  3. Copy your token. You sure are gonna need use in some endpoints. After login you are going to put some personal informations. So, you need to select authorization, select Bearer Token and paste it:

    image

    Then, you can select body, raw (JSON) and write your personal informations and send: image

About

An API REST for an e-commerce called by "Impact Us"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages