Skip to content

andermonreal/OnlineShop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OnlineShop

This is a project based on an Online Shop with simulated items, I use the following technologies for this project: - Backend: Payara Server managed with Java and Jakarta EE 10, and Postgres database. - Frontend: REACT.

Deployment

Backend

  1. Run the Postgres database container, in backend/docker-compose.yaml with the following command docker compose up --build -d.

  2. The backend is prepared to run in a Payara Server. I personaly download Payaa 6.2025.3 from NetBeans. Once downloaded go to the Payara's folder, run ./bin/asabin start-domain and go to the Payara Console on "http://localhost:4848".

  3. Create the Connection Pool of postgres with the following properties:

    • URL: jdbc:postgresql://localhost:5432/pscShop
    • serverName: localhost
    • databaseName: pscShop ("Docker configured")
    • user: ander ("Docker configured")
    • password: ander123 ("Docker configured")
  4. Create the Connection Resource with the name of jdbc/postgres.

  5. Go to the ./backend folder and run mvn clean package cargo:run for creating a '.war' on ./backend/target/-

  6. Create the Aplication on the Payara Console with the default path onlineShop and upload the previous '.war' file generated.

  7. Your backend will be served on "http://localhost:8080/onlineShop".

Frontend

  1. Go to ./frontend.

  2. Run npm start.

  3. Go to "http://localhost:3000".

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published