m-flak / myblog Goto Github PK
View Code? Open in Web Editor NEW'My Blog' - A full-stack web application with a custom, from-scratch backend server and React frontend.
License: Apache License 2.0
'My Blog' - A full-stack web application with a custom, from-scratch backend server and React frontend.
License: Apache License 2.0
Cause: util/backend.js
Providing a relative path for REACT_APP_BACKEND_URL
does not work. Embarrassing, but whatever.
Currently, a url such as: http://ip:port/
must be provided.
Rewriting the URL code will fix this.
Affected Components:
It seems that successive requests to the backend's PostsRoute at /posts
will occasionally result in an empty response, but this does not always happen!
I'm not sure why this is happening, and it is extremely frustrating.
This bug causes some or all of the frontend components to fail. We'll either see the posts and an empty post-by-month list or vice versa. HOWEVER, sometimes everything works as it should.
Refreshing the heck out of the home page until things show up. This is unacceptable! ๐
#1 was caused by no connection pool for the database connection.
Connection pooling must be implemented to allow the backend to actually work properly.
Because currently, multiple connections all at once will result in undesirable behavior, like on the Home Page. Posts and the Post List pages work fine.
The frontend react app is limited in the way it can be deployed. Deploying the react app in a subdirectory doesn't work because of react-router.
Currently, the front can be deployed in a server's root, ex: http://whatever.com/
.
The code shall be first examined, and if no fix can be made, I'll just dockerize the frontend. ๐
I, personally, must deploy my blog in a subdirectory on my production server, but if you don't, everything should work just fine.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.