This is a simple rest api for wordle projects. Make in rust with rocket as the framework. Every day at midnight it will pick a random word from the words.txt file.
Clone the project
git clone https://github.com/RAPrograms/Rust-Wordle-Api.gitGo to the project directory
cd Rust-Wordle-ApiStart the docker compose
docker-compose upOpen a browser and go to
GET http://localhost:8080
- Goto: /app/words.txt
- Type the word on a new line