Add horoscope-api, synastry, and backend services
- horoscope-api: Swiss Ephemeris natal charts, timezone/place resolution, POST /v1/natal and POST /v1/synastry - backend: users with roles, email/password and Google login, saved charts, synastries and invites, analyses with credit ledger, public shares, admin - shared crates: astro-engine, db (migrations), horoscope-client, service-kit - docker-compose with postgres, legacy Java project for reference Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
Executable
+39
@@ -0,0 +1,39 @@
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
font-weight: bold;
|
||||
color: #777777;
|
||||
margin: 40px 0px 70px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.sendButton {
|
||||
display: block;
|
||||
font-size: 16pt;
|
||||
}
|
||||
|
||||
.gwt-DialogBox {
|
||||
width: 400px;
|
||||
}
|
||||
|
||||
.dialogVPanel {
|
||||
margin: 5px;
|
||||
}
|
||||
|
||||
.serverResponseLabelError {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#closeButton {
|
||||
margin: 15px 6px 6px;
|
||||
}
|
||||
|
||||
div#page {
|
||||
background: #FFFFFF;
|
||||
width: 1024px;
|
||||
height: 768px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
div#title {
|
||||
background: #CCCCCC;
|
||||
}
|
||||
Executable
+25
@@ -0,0 +1,25 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||||
<link type="text/css" rel="stylesheet" href="AstroChart.css">
|
||||
<title>Astrology Chart Generator</title>
|
||||
<script type="text/javascript" language="javascript" src="astrochart/astrochart.nocache.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<iframe src="javascript:''" id="__gwt_historyFrame" tabIndex='-1' style="position:absolute;width:0;height:0;border:0"></iframe>
|
||||
<noscript>
|
||||
<div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif">
|
||||
Your web browser must have JavaScript enabled in order for this application to display correctly.
|
||||
</div>
|
||||
</noscript>
|
||||
<div id="page">
|
||||
<div id="title"></div>
|
||||
<div id="content"></div>
|
||||
<input type="hidden" id="timeZone" name="timeZone" />
|
||||
<script type="text/javascript">
|
||||
document.getElementById('timeZone').value = ((new Date().getTimezoneOffset() / 60) * -1);
|
||||
</script>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Executable
+6
@@ -0,0 +1,6 @@
|
||||
|
||||
/appengine-generated
|
||||
|
||||
/classes
|
||||
|
||||
/deploy
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
||||
<application>astro-chart</application>
|
||||
<version>1</version>
|
||||
<threadsafe>true</threadsafe>
|
||||
<static-files>
|
||||
<include path="**" />
|
||||
<include path="**.nocache.*" expiration="0s" />
|
||||
<include path="**.cache.*" expiration="365d" />
|
||||
<exclude path="**.gwt.rpc" />
|
||||
</static-files>
|
||||
<system-properties>
|
||||
<property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
|
||||
</system-properties>
|
||||
</appengine-web-app>
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
/appengine-api-1.0-sdk-1.8.1.1.jar
|
||||
/appengine-api-labs.jar
|
||||
/appengine-endpoints.jar
|
||||
/appengine-jsr107cache-1.8.1.1.jar
|
||||
/datanucleus-appengine-1.0.10.final.jar
|
||||
/datanucleus-core-1.1.5.jar
|
||||
/datanucleus-jpa-1.1.5.jar
|
||||
/geronimo-jpa_3.0_spec-1.1.1.jar
|
||||
/geronimo-jta_1.1_spec-1.1.1.jar
|
||||
/gson-2.1.jar
|
||||
/gwt-servlet.jar
|
||||
/jdo2-api-2.3-eb.jar
|
||||
/jsr107cache-1.1.jar
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
# add to appengine-web.xml:
|
||||
# <system-properties>
|
||||
# <property name="java.util.logging.config.file" value="WEB-INF/logging.properties"/>
|
||||
# </system-properties>
|
||||
.level = WARNING
|
||||
Executable
+39
@@ -0,0 +1,39 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
||||
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
||||
version="2.5"
|
||||
xmlns="http://java.sun.com/xml/ns/javaee">
|
||||
|
||||
<!-- Servlets -->
|
||||
<servlet>
|
||||
<servlet-name>adminService</servlet-name>
|
||||
<servlet-class>astrochart.server.service.AdminServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>epochService</servlet-name>
|
||||
<servlet-class>astrochart.server.service.EpochServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
<servlet>
|
||||
<servlet-name>geocodeService</servlet-name>
|
||||
<servlet-class>astrochart.server.service.GeocodeServiceImpl</servlet-class>
|
||||
</servlet>
|
||||
<servlet-mapping>
|
||||
<servlet-name>adminService</servlet-name>
|
||||
<url-pattern>/astrochart/admin</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>epochService</servlet-name>
|
||||
<url-pattern>/astrochart/epoch</url-pattern>
|
||||
</servlet-mapping>
|
||||
<servlet-mapping>
|
||||
<servlet-name>geocodeService</servlet-name>
|
||||
<url-pattern>/astrochart/geocode</url-pattern>
|
||||
</servlet-mapping>
|
||||
|
||||
<!-- Default page to serve -->
|
||||
<welcome-file-list>
|
||||
<welcome-file>AstroChart.html</welcome-file>
|
||||
</welcome-file-list>
|
||||
|
||||
</web-app>
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 1.1 KiB |
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 19 KiB |
Reference in New Issue
Block a user