https://github.com/devorein/postgres-sharding-docker
https://github.com/devorein/postgres-sharding-docker
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/devorein/postgres-sharding-docker
- Owner: Devorein
- Created: 2021-10-23T10:12:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-24T12:14:42.000Z (over 4 years ago)
- Last Synced: 2025-02-07T11:30:46.641Z (over 1 year ago)
- Language: TypeScript
- Size: 61.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# url-shortner
A simple demonstration of an url-shortner using express, docker and postgres sharding
## Steps
1. Run the commands in `init.sh` or execute the script directly
2. Open up pgAdmin and connect to the 3 postgres servers running in ports `5432` to `5434`
3. Run `npm run build` to compile from typescript to vanilla js
4. Run `npm run start` to start up the server