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:
feco
2026-11-15 10:25:35 +00:00
co-authored by Claude Opus 5.5
parent 0b5416df45
commit 3a84110565
148 changed files with 95803 additions and 0 deletions
+49
View File
@@ -0,0 +1,49 @@
package astrochart.shared.enums;
public enum Planet {
Sun(3, '\u2609', true, false),
Moon(4, '\u263e', true, false),
Node(13, '\u260A', false, false), //ascending
SouthNode(14, '\u260B', false, false), //descending
Mercury(5, '\u263f', true, false),
Venus(6, '\u2640', true, false),
Mars(7, '\u2642', true, false),
Jupiter(8, '\u2643', true, false),
Saturn(9, '\u2644', true, false),
Uranus(10, '\u2645', true, true),
Neptune(11, '\u2646', true, true),
Pluto(12, '\u2647', true, true);
private final int token;
private final char unicode;
private final boolean isBody;
private final boolean isOuter;
private Planet(final int token, final char unicode, final boolean isBody, final boolean isOuter) {
this.token = token;
this.unicode = unicode;
this.isBody = isBody;
this.isOuter = isOuter;
}
public final int getToken() {
return token;
}
public final char getUnicode() {
return unicode;
}
public final boolean isBody() {
return isBody;
}
public final boolean isOuter() {
return isOuter;
}
@Override
public final String toString() {
return this.name();
}
}