Craftle is a minimalist Minecraft-themed Wordle-like clone, inspired by the popular New York Times game.
- Minimalist Theme: A modern approach to a classic game.
- Wordle Gameplay: Guess a daily random crafting recipe in 6 attempts.
- Smooth Animations: Uses
framer-motion
.
- Next.js
- TypeScript
- Prisma
- NextUI
- Framer Motion
- Custom Minecraft API: GitHub Repository for Minecraft related data.
- Clone the Repository
git clone https://github.com/ejkorol/craftle.git
- Navigate to the Project Directory
cd craftle
- Install Dependencies
npm install
- Update ENV
# DATABASE
DATABASE_URL="mysql://johndoe:randompassword@localhost:3306/mydb"
# URLS
API_URL=""
# NEXT AUTH
AUTH_SECRET=""
# OAUTH GITHUB
AUTH_GITHUB_ID={CLIENT_ID}
AUTH_GITHUB_SECRET={CLIENT_SECRET}
# OAUTH GOOGLE
AUTH_GOOGLE_ID={CLIENT_ID}
AUTH_GOOGLE_SECRET={CLIENT_SECRET}
- Setup Prisma
npx prisma migrate dev
npx prisma generate
- Run the Development Server
npm run dev
- Open Your Browser
Navigate to http://localhost:3000
to start playing Craftle.