Skip to content

TCC - Compartilhamento de código de cliente e servidor utilizando web workers

Notifications You must be signed in to change notification settings

estacioneto/TCC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Let's talk about workers :)

Running the project

To run this project, you must have three opened terminals in order to start the /react, /api and /worker servers. In development mode, you shoud run the following commands:

# To install all dependencies, just run this command on project's root.
yarn

# For each folder (/react, /api and /worker), run:
yarn dev

What does this project do?

Well, the app is really simple. A string generation app! And there were a few concepts that I wanted to talk about when building this project.

First of all, Service Workers!

Service workers are great and they are present in the web for a long time. It helps the web app by adding a new layer that can deal with cache, intercepting network requests, preloading pages and data, and so on. In this project, the service worker that is served in the /worker folder helps the app by generating data even when the API is unavailable.

API

TODO

Code sharing

TODO

Database abstraction

TODO

/har folder

The /har folder was meant to run analysis on network requests (exported on Chrome). It was crucial to make my undergraduate thesis and you can read it in portuguese here.

About

TCC - Compartilhamento de código de cliente e servidor utilizando web workers

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published