Outdated project, not to be used for anything other than reference... if anything.
A similar and updated version of this can be found in this other repository
A simple (and in development) front end app made to consume a REST API and work as a single page app made with no frameworks or libraries for personal practice and career development in Vanilla JavaScript (No FE frameworks), eventually to be done with the best practices and latest standards. Focusing on making it work first.
This kind of sucks, but so does... - (insert dumb joke here)
I was going to say not having (free) time and rushing deadlines but whatever...
- Implement Observer Pattern. Make
model
observable andview
observer so changes are rendered automatically instead of having to re-render and re-everything on updates... - implement
Event Emitter
interface to check for clicks... this is almost callback hell but for noobs. LOL - Clean up code
- Document and comment code
- Testing
- Boilerplate the #$^% outta this repo...
There are several things to do. I've tried keeping code as clean and clear as possible, but still need to optimize this, document code properly, improve a lot of stuff and implement some new cool things to build a nice reusable Vanilla ES6 FrontEnd MVC Boilerplate. This Boilerplate is the new goal of this repository. Just for fun and practice.
Look for // *** TODO:
for comments on things still to do, improve or implement throughout the JS files.
You will need Node and NPM
installed to get this running. Will eventually move this to a Yarn build maybe and etc.
Live-Server
npm install
Only has 1 script for now, for development. Will work on this later. Live-server
live-server --host=127.0.0.1 --port=8000
npm run build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate. (Not done yet...)