A rocket.rs webserver designed to mirror a request back to a client that made it. This was originally designed to test requests from the browser or http clients. The backend keeps track of requests made by users.
Go to file
Camerin Figueroa 4f1a16cf56
Update lib.rs
2024-04-30 11:18:56 -04:00
.github/workflows Update rust.yml 2024-03-19 10:41:44 -04:00
.vscode Added Additional features 2024-03-04 22:19:39 +00:00
migrations docker-compose_update - Updated docker-compose to be fully functional 2024-04-29 21:02:02 +00:00
src Update lib.rs 2024-04-30 11:18:56 -04:00
templates Fixed saving and restoring fields in index.hbs 2024-03-05 22:34:33 +00:00
.env Added Docker and short instructions 2024-03-07 21:57:25 +00:00
.env.docker Added Docker and short instructions 2024-03-07 21:57:25 +00:00
.gitignore Added Additional features 2024-03-04 22:19:39 +00:00
Cargo.lock Updated Cargo Lock file 2024-04-29 21:40:27 -04:00
Cargo.toml Commented and Refactored codeMade ids in the database i64 values to increase available id spaceMoved some structs and enums from main.rs to models.rsCommented structs and functions 2024-03-06 22:43:16 +00:00
Dockerfile docker-compose_update - Updated docker-compose to be fully functional 2024-04-29 21:02:02 +00:00
README.md docker-compose_update - Updated docker-compose to be fully functional 2024-04-29 21:02:02 +00:00
Rocket.toml Commented and Refactored codeMade ids in the database i64 values to increase available id spaceMoved some structs and enums from main.rs to models.rsCommented structs and functions 2024-03-06 22:43:16 +00:00
deploy.sh Added Docker and short instructions 2024-03-07 21:57:25 +00:00
diesel.toml Added Additional features 2024-03-04 22:19:39 +00:00
docker-compose.yml docker-compose_update - Updated docker-compose to be fully functional 2024-04-29 21:02:02 +00:00

README.md

Request Mirror

This application provides a web ui for sending get/post requests and provides a visual ui for looking at what the application received. This is written in rust.

TODO:

  • Update Readme
  • Document

Docker

Please read through the documentation on setting up and installing docker on your machine. We'll use the CLI commands to deploy the application to docker.

See Get Docker

First you'll want to ensure you have build the container. Do that by running

docker build . -t raspberrypi99/request-mirror

Next you can start up the application using docker compose

docker compose up -d

This will deploy the application to docker. It will setup the postgres server, deploy the database using diesel and start request-mirror.