An open API service indexing awesome lists of open source software.

https://github.com/raprograms/rust-wordle-api

This is a rust made wordle REST api build using Rocket
https://github.com/raprograms/rust-wordle-api

rest-api rocket rust wordle wordle-game

Last synced: 5 months ago
JSON representation

This is a rust made wordle REST api build using Rocket

Awesome Lists containing this project

README

          

# Rust wordle api
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.

## Run Locally
Clone the project

~~~bash
git clone https://github.com/RAPrograms/Rust-Wordle-Api.git
~~~

Go to the project directory

~~~bash
cd Rust-Wordle-Api
~~~

Start the docker compose

~~~bash
docker-compose up
~~~

Open a browser and go to

~~~
GET http://localhost:8080
~~~

## How to add new words

1. Goto: /app/words.txt
2. Type the word on a new line