Skip to content

This repository contains backend and frontend implemented using Clojure and Clojurescript respectively. Backend Clojure API takes two words as input and tells whether the second word can be rearranged to form the first word. The frontend is the simple UI that contains two text-field and a button to call Clojure API.

Notifications You must be signed in to change notification settings

MuhammadHamzaChippa/Word-Scrambles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Flexiana Interview Task

https://docs.google.com/document/d/1q78CyntLJt4qniVvuY4c8nYtR09B2RLT_nDNBsI-Of4/edit

This repository contains two parts, back-end, and front-end

Back-end

The back-end is the API that receives two strings and checks if a portion of string1 characters can be rearranged to match string2. To run the back-end run the following commands.

cd backend 
lein run

Scrambles API is available at this endpoint http://localhost:3000/scramble. You can test the API by this command.

curl http://localhost:3000/scramble/katas/steak

Front-end

To run the front-end run the following commands in the terminal after running the back-end

cd frontend
yarn 
npx shadow-cljs watch app

About

This repository contains backend and frontend implemented using Clojure and Clojurescript respectively. Backend Clojure API takes two words as input and tells whether the second word can be rearranged to form the first word. The frontend is the simple UI that contains two text-field and a button to call Clojure API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages