Skip to content

Commit

Permalink
Merge pull request #8 from SailingSteve/steveWeConnectClient-Dec20-12…
Browse files Browse the repository at this point in the history
…43am

New Login session persisted to postgres, WeConnectSession cookie established on signin
  • Loading branch information
DaleMcGrew authored Dec 25, 2024
2 parents 40617ab + 7e1b3db commit aebf5e2
Show file tree
Hide file tree
Showing 11 changed files with 31,458 additions and 78 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# Ignore build files
build
build-live
package-lock.json

# TernJS
###################
Expand Down
16 changes: 9 additions & 7 deletions WeVotePorts.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
#### Ports used by WeVote developers in their local setups

| Server | Served by | port | purpose |
|--------------------------------------------------|:-----------------------------:|-----:|:---------------------------|
| "WebApp" React webapp for voters | webpack serve/express | 3000 | Client App -- Voter facing |
| WeVoteServer (Python) API Server for "WebApp" | django runserver/runsslserver | 8000 | API Server -- Python |
| weconnect React webapp for staff | webpack serve/express | 4000 | Client App -- Staff facing |
| weconnect-server (Node) API server for weconnect | express | 4500 | API Server -- Node |
| postgres local server | postgres | 5432 | Database Server |
| Server | Served by | Port | Purpose | Environment Variable Prefixes |
|------------------------------------------------------------------------------------------------|:-----------------------------:|-----:|:---------------------------|:------------------------------|
| ["WebApp"](https://github.com/wevote/WebApp) React webapp for voters | webpack serve/express | 3000 | Client App -- Voter facing | VOTER_FRONT_END_APP_ |
| [WeVoteServer](https://github.com/wevote/WeVoteServer) (Python) API Server for "WebApp" | django runserver/runsslserver | 8000 | API Server -- Python | VOTER_API_SERVER_ |
| [weconnect-client](https://github.com/wevote/weconnect-client) React webapp for staff | webpack serve/express | 4000 | Client App -- Staff facing | STAFF_FRONT_END_APP_ |
| [weconnect-server](https://github.com/wevote/weconnect-server) (Node) API server for weconnect | express | 4500 | API Server -- Node | STAFF_API_SERVER_ |
| postgres local server | postgres | 5432 | Database Server |

Note: In any of the 4 repositories, the PROTOCOL, HOSTNAME, PORT, etc. names are used with no prefix, and are unambiguous since they always refer to "this" client or server, no matter which repository you are in.

Loading

0 comments on commit aebf5e2

Please sign in to comment.