https://github.com/meyer1994/txtmap
Hobby project trying to mimic yourworldoftext.com
https://github.com/meyer1994/txtmap
lambda postgresql python travis websockets
Last synced: 19 days ago
JSON representation
Hobby project trying to mimic yourworldoftext.com
- Host: GitHub
- URL: https://github.com/meyer1994/txtmap
- Owner: meyer1994
- Created: 2020-02-02T03:44:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-13T18:01:38.000Z (about 5 years ago)
- Last Synced: 2023-03-03T20:30:17.876Z (over 3 years ago)
- Topics: lambda, postgresql, python, travis, websockets
- Language: Python
- Homepage: https://meyer1994.github.io/txtmap/
- Size: 70.3 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TXTMAP
[](https://travis-ci.org/meyer1994/txtmap)
[](https://codecov.io/gh/meyer1994/txtmap)
This is an open source clone of [YourWorldOfText](https://www.yourworldoftext.com/)
## Development
You can deploy your own version very easily. This project uses [Serverless](serverless.com) and is built using AWS Lambda and RDS. However, it should be fairly easy to port it to Heroku, Google Cloud or any other.
To make changes:
```bash
(venv) $ pip install -r requirements-dev.txt
```
To Test:
```bash
$ make postgres test # Will start a postgres container, using docker
$ make report # Code coverage
```
### Stack
It uses AWS. Here is a list of the resources used:
- 1 PostgreSQL (RDS)
- 1 AWS Lambda Function
- 1 API Gateway V2 (WebSockets)
### Deploy
To deploy, you will need to have a database already up. We use SSM Parameter Store to store the DB password and host. See [here](https://serverless.com/framework/docs/providers/aws/guide/variables/#reference-variables-using-the-ssm-parameter-store) for more info.
After everything is done, just execute:
```bash
$ serverless deploy --verbose
```