View Code? Open in Web Editor
NEW
A website hosting a blog built using Javascript, Nodejs, Reactjs, Expressjs, and MongoDb.
HTML 8.30%
CSS 26.33%
JavaScript 65.37%
blog-with-node-react's Introduction
๐ฑ Iโm a senior developer, building highly scalable commercial products.
๐ฉ๏ธ I'll be launching a product to market soon, watch this space ๐ฉ๏ธ
๐ You can find my LinkedIn here: https://www.linkedin.com/in/jordan-thomson-708a23171
All the good stuff is hidden from prying eyes i'm affraid
blog-with-node-react's People
Contributors
Stargazers
Watchers
blog-with-node-react's Issues
Users want to see a grid of blog tiles
We should consider limiting the number of blogs per page to 10, and limited the size of name/city.
Suggest here we create a page that pulls blogs from database - think we'll need to improve database before this is do able
We'll need an 'about' page - suggest we describe the tech used for the webpage and maybe pull some fun db stats? Total entries or something similar?
Error: listen EADDRINUSE: address already in use :::3005
[0] at Server.setupListenHandle [as _listen2] (net.js:1331:16)
[0] at listenInCluster (net.js:1379:12)
[0] at Server.listen (net.js:1465:7)
[0] at Function.listen (/Users/jordanthomson/code/blog-with-Node-React/node_modules/express/lib/application.js:618:24)
[0] at Object. (/Users/jordanthomson/code/blog-with-Node-React/src/server/index.js:79:5)
[0] at Module._compile (internal/modules/cjs/loader.js:1085:14)
[0] at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
[0] at Module.load (internal/modules/cjs/loader.js:950:32)
[0] at Function.Module._load (internal/modules/cjs/loader.js:790:12)
[0] at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
[0] Emitted 'error' event on Server instance at:
[0] at emitErrorNT (net.js:1358:8)
[0] at processTicksAndRejections (internal/process/task_queues.js:82:21) {
[0] code: 'EADDRINUSE',
[0] errno: -48,
[0] syscall: 'listen',
[0] address: '::',
[0] port: 3001
[0] }
[0] [nodemon] app crashed - waiting for file changes before starting...
Currently we can only get 1 using unique ID
We should integrate some automated testing and move towards TDD.
As a user I want to view a homepage explaining how the application works, a submit blog page which lets me submit a blog, and a view blogs page which lets me view a blog.
Add a css change to Toolbar component to highlight current page
The production DB has timed out due to inactivity.
Solution - create a local MongoDB instance that doesn't require the production cloud version. We should do this in such a way that it boots an instance of the server with env variables provided.
Our localDB might also want to ingest data on start up.
When I enter data of character 'a' into the Get Blogger box, I get no response back on the front end. On the server console however it has successfully retrieved a couple of names
As a developer I don't want any hardcoded passwords in my repo!
So we can move towards the MERN stack
We need to fix the paths after the folder re-structure