feat: add support for root base
patch: support root base
Orion can now accept an optional base
parameter on the root config object.
With this, orion can append a base path to all routes found under a given suffix.
For ex:
const app = express();
const demoRouter = orion({ suffix: 'demo', base: 'api/demo' });
const fooRouter = orion({ suffix: 'foo.route', base: 'v1' });
app.use(demoRouter);
app.use(fooRouter);
app.listen( ... )
Sample corresponding mapped routes:
GET /api/demo/some-route-in-route-file-with-demo-suffix
GET /v1/some-route-in-route-file-with-foo.route-suffix
fix: change lodash cloneDeep usage
see lodash/lodash#3614
patch: use main lodash pkg
see lodash/lodash#3614
see lodash/lodash#3614
fix: prevent mutation on multiple orion calls
feat!: return express router instead of application
minor: add functionality to call orion multiple times in app lifecycle.
Add functionality to call orion multiple times in app lifecycle.
Orion would now just return an express Router.
With this, orion can be called multiple times to generate a router given a specific suffix.
For ex:
const app = express();
const demoRouter = orion({ suffix: 'demo' }); // routes from all files with pattern *.demo.ts (or *.demo.js if runtime is js)
const fooRouter = orion({ suffix: 'foo.route' }); // routes from all files with pattern *.foo.route.ts (or *.foo.route.js if runtime is js)
app.use(demoRouter);
app.use(fooRouter);
app.listen( ... )
Orion would now just return an express Router.
With this, orion can be called multiple times to generate a router given a specific suffix.
For ex:
const app = express();
const demoRouter = orion({ suffix: 'demo' }); // routes from all files with pattern *.demo.ts (or *.demo.js if runtime is js)
const fooRouter = orion({ suffix: 'foo.route' }); // routes from all files with pattern *.foo.route.ts (or *.foo.route.js if runtime is js)
app.use(demoRouter);
app.use(fooRouter);
app.listen( ... )
Modify book link to refer to correct book title
Provide Khan Academy alternatives
Several of the math courses contained within the guide have excellent Khan Academy counterparts.
Added Khan Academy options for those courses.
Add question about highlights site to faq
Fix paragraph spacking in programming projects faq
Change 'meaning full' to 'meaningful' for clarity
Update mobile.md
Fix in table visualization.
Merge pull request #108 from cschlyter/patch-1
Update mobile.md
Fix spacing
Fix spacing in note about repeating the specialization
Add game development course
Add CS50's introduction to game development to the start of the game development specialization.
This course gives a fantastic overview of many concepts that will be pertinent regardless which platform, language, or framework is chosen for the specialization.
Fix typo in data-science-i course name
Merge pull request #111 from ksmai/fix/m220p
Fix typo in data-science-i course name
changed the text 'M200P' to 'M220P'
was poking through the specialisations and what I'd like to do, realised that the course is listed as M220P on the catalog instead of M200P.
Merge pull request #113 from mhmakes/patch-1
changed the text 'M200P' to 'M220P'
Move topic guides to deprecated
Remove learn enough from specializations
Remove learn enough reading resources from the app academy specialization.
Refactor Tier 0
Remove 'Learn Enough' resources which have been paywalled and replace by shuffling the App Academy specialization into Tier 0. After the material in Tier X, App Academy should be challenging, but doable.
Reflect Tier 0 changes in changelog
Update the tier 0 hyperlink in the Junior developer section
Merge pull request #116 from peterluczynski/master
Update the tier 0 hyperlink in the Junior developer section
Add another full stack option for specialization
Add Deep Dive Into Modern Web Development - Full Stack Open 2019 from the University of Helsinki as a fullstack bootcamp option in the specializations as it provides an opportunity to study react further after App Academy and to branch out and use Node/Express for backend.
v7.6.1-patch2
fix help text formating
add support for bypassing collaborators check for npm automation tokens
add support for bypassing collaborators check for npm automation tokens