- Node/Express backend
- React/Redux frontend
- Unit test (front? backend?)
- Having fun (
Ex: Styling or Styling frameworks
)
- No need for Database
- Don't over-optimize too early with Microservices or Dockers etc.
- Keep it simple
- Save local until page reload (no need to persist)
- On each folder server and ui run
npm install
- From server folder run
npm run dev
. This will kick off both server and ui. - Run test separately
- Ports:
:5000/api/posts
and:3000
-
React
-
Redux Toolkit (
this is nice. even though i mostly used core principles, base redux, in my past projects
) -
Node (+ dependency libraries)
-
Express
-
React-Bootstrap (
to make some work faster, i would use internal framework, if exists, or create from scratch, if i had more time
) -
Winston for logging
-
Concurrently and Nodemon (
to make development easier
)
Yes, it has specific cases handling (ex: empty data) issues which could require couple more hours of work.
Overall 5 ui and 1 server unit tests running and passing. Needs more of them.
Yes, app can be improved and developed further. Future is bright for this app.
Things can be added for near future: More CRUD API, Persistency of Data, Implement multiple pages, Integrate Database, Page Footer, Language Support, More testing, Web Security, Form Validations, Add Proxy to UI etc.
-
If you are okay, i can implement autocomplete, fix empty data minor bug and add more unit tests and styling until our meeting next week.
-
Please let me know through email (Sarah)
-
I didn't know if i had to deploy this app or just send github link. So, sending github link. You can run locally and check the output. For prod, i might need to proxy prod URL on both side.
In case .env is missing on github, this is how its content looks like
# Port Number
PORT=5055
# Node env
NODE_ENV=development