In English language, words can be categorized according to their syntactic functions, which is known as "Part of Speech". Examples of part of speech: (noun, verb, adjective, adverb,...)
This application helps the students practice categorizing a set of words according to their part of speech.
- The application fetch a list of random selected words from rest api.
- Shows the student one word each time and below the word there are four buttons respresenting for options of part of speech (noun, adverb, adjective, or verb).
- After finish the activity a result display is shown with the student rank with the ability to try the activity again.
To run the application the repository contains two folders :
-
Server-side
- express.js with TypeScript REST Api
- Go to Server-side folder using
cd Server-side. - Run
npm installto install dependances. - Run
npm startto start the server on port 8080 by default (to change the port go to.envfile and change it).
- Go to Server-side folder using
- express.js with TypeScript REST Api
-
Client-side
-
React application
- Go to part-of-speech-client folder using
cd Client-side\part-of-speech-client\ - Run
npm installto install dependances. - Run
npm startto start the application on port 3000 by default.
- Go to part-of-speech-client folder using
-
To change the domain of the REST api go to
.envinsidepart-of-speech-clientfolder and change it.
-
- You can check the application on: