Powered by create-svelte. Website uses MongoDB as the database. Note: The original repository is https://github.com/therealvidem/bardle on my personal account, but the words in it are revolved around a niche topic. This version at https://wordle.tuon.dev/, which uses this repository, uses this word list.
Install dependencies with npm install (or pnpm install or yarn). Then, you must create a .env file to store the URI of the database:
touch .env
vim .env # or use any other editorThe .env file has the following structure:
MONGODB_URI=<your URI here>
Note, the URI should also point to a specific database (e.g., mongodb+srv://:@.jdlnt.mongodb.net/).
To start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version:
npm run buildYou can preview the production build with npm run preview.