Previous masters app. Breathing new life into it as an Express.JS app.
It's a proof-of-concept web app, masquerading as a travel company.
Yes, I took the photo - no filters. Rad.
- You want to check out my mad-skillz;
- You want to learn by example about...
- MVC,
- Express routing,
- Templating with partials,
- Testing,
- ES6 syntax,
- linting,
- etc.
git clone <this_url> && cd <repo_name>npm install
node -r esm index.js
Implementation of ES6 modules in Express requires esm be passed to node.
GMAPKEY=<your-key> node -r esm index.js
Inject your key into Node's environment variables.
See Google Maps Platform > Web > Maps JavaScript API > Get an API Key
./node_modules/mocha/bin/mocha --require esm --exit
Implementation of ES6 modules in Express requires esm be passed to mocha.
./node_modules/.bin/eslint . --fix
In progress...
- to ES6
- to MVC
- to template engine (mustache-express)
- isolate dependencies
- SuperTest, Mocha, Cheerio
- to CI/CD
- node 13.5+
- express 6.13.4+
- jquery-3.3.1 (TODO: upgrade)
- bootstrap 4.1.3 (TODO: upgrade)
rrr@burntsugar.rocks
