Aclaputra / twitter-app-jakarta

Build Twitter Clone made with Jakarta EE 9 application using payara 5.2 server, gradle + React TypeScript.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Payara sever - h2 database

Build Twitter Clone made with Jakarta EE 9 application using payara 5.2 server, gradle and React TypeScript.

run payara server (go to the location where you extracted the payara folder) then write this command:

cd bin/
./asadmin start-domain

it will automatically start domain on domain1 at localhost:4848 for admin and localhost:8080 for http

how to specifically custom your domain name:

./asadmin start-domain <your-domain-name>

build the app with gradle or maven, then deploy the exported jar/war file :

sudo ./asadmin deploy /opt/lampp/htdocs/twitter-app/build/libs/twitter.war

check if the app is up and running at localhost:8080/twitter/api/hello

docker method :

docker compose up -d

it will automatically start domain on domain1 at localhost:4848 for admin and localhost:8080 for http, localhost:4848 default username and password is admin (auto generated from the docker image).

references:

About

Build Twitter Clone made with Jakarta EE 9 application using payara 5.2 server, gradle + React TypeScript.


Languages

Language:TypeScript 57.3%Language:CSS 26.0%Language:Java 11.7%Language:Dockerfile 5.1%