Hi, in this test you will be creating a chat app! This chat will have:
- Frontend in Typescript React.
- Backend in Nodejs
The frontend test will be in Typescript React. There are 2 main routes home and chat.
/home
: On this page you will write the documentation for this app./chat
: This is the page where you will make the actual chat app.
Please fork the repository
Use the command below to install all the dependencies for the frontend.
npm install
You can run the development server for the front end by running
npm run start
And run tests by running
npm run test
And build by running
npm run build:dev
The /chat
route seems to be broken, even when you change the route to localhost:3000/chat
it will stay at the /home
directory please fix this.
In section this you must create a chat application. You have to:
- Create a store that will house all your chats.
- Be able to send/receive messages in real time.
- Write some brief documentation about how your app works on the
/home
page and include a link to the chat as well.
you will be graded on:
- The functionality of the overall app.
- The quality of your code.
- How you used typescript's strict syntax to avoid type conflicts.
- How your app handles errors (like not being connected to the internet).
If you can
- Write some tests for your app using whatever testing framework you see fit.
- Deploy your app to github pages.
Both of these steps are optional however you do gain an upper hand if you do them.
You must use nodejs to implement your backend, with that said you are free to use whatever libraries, technologies you see fit to accomplish the task above. just put your code in the \server
folder of the repository you forked above
To submit you code just commit your code and create a pull request against the master branch of the repository you forked.