A small attempt at creating a task management application for Superteam Lurkers Got Talent submission usinf React, Socket.io and Redis.
A Medium blog explaining the implementations more deeply: Link
-
Server
- Nodejs
- Express
- Socket.io
-
Client
- Reactjs
-
Database
- Redis
- backend
Contains all the server side code for maintaing connection with clients and storing the data in database.
- frontend
Contains all the client side code for rendering a very simple UI showing the working of the app
- Make sure you have Nodejs and Redis installed in your system. We will be connecting to local Redis database that will run in the same system as the server. The properties can be updated to suit your needs.
- Start the redis server in your local system by executing the
redis-server
command from a terminal. It start listening at port 6379. cd backend
npm i && npm start
- In a separate terminal, starting from the location of the folder,
cd frontend
npm i && npm start
- Open browser and visit http://localhost:3000 to view the application.