A simple client
to server
communication POC used for web-dev
basics introduction (part 1 & 2) for talk in TechieWeek
at UTFL
.
This is a very simple stripped down version of a client restricted to cli
mode.
- Can make
HTTP
requests. - Connect to a
backend
using awebsocket
. - Can process and display
JSON
data received backend.
from minimal-client
folder.
$ npm install
$ node client.js
This is a simple Nodejs-Express
app encapsulating a simple API
for create
, read
, update
& delete
.
- Can handle
API
requests.(Restful API)
. - Can handle
socket
communication. - Performs
CRUD
operations on a database(backed by a data source)
. - Demonstrate the use of
Docker
containers to deploy backend app.
from minimal-backend
folder. This runs the nodemon
backed backend
app.
$ npm install
$ npm start
- Refactor to seperate
backend
&frontend
git repositories like all my other POCs. - Add more use cases and features that come in from
user-stories
. - Deploy the
minimal-backend
onAWS
& useS3
for storing/retriving assets. - Convert
minimal-client
to a functionalweb-app
(frontend app) usingReact
orAngular
instead ofcli
mode.