- Notifications
You must be signed in to change notification settings - Fork2
The Early Ruskin Manuscripts: an archive of the youthful writing of John Ruskin (1819–1900).
License
seluenglish/erm.selu.edu
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Early Ruskin Manuscripts, 1826–1842 is a project of Southeastern Louisiana University and Humanities Online, both under the direction of the university's Department of English.
All commentary in ERM, including apparatuses, glosses, notes transcripts, and other editorial treatments of the manuscripts is © by David C. Hanson.
Files in this repository are licensed using the MIT license. (SeeLicense).
https://erm.selu.edu/webpages/staff
https://erm.selu.edu/webpages/legal
#Developer Note:
##File Structure
src├---app/components| |---HeadNavigation| | |---HeadNavigation.js #This is where top nav menu is located| |---App| | |---App.js # is where you setup new route to catch| |---News| |---Footer| |---NestingComponents| | |---Card| | | |---NewsProfile #Renders news in big card| | | |---NewsThubnail #Renders mews in small card for grid view| | |---PostNews| | | |---PostNews #Renders form where admin can change form├──-config| |---constants.js #Renders dev vs production data ├─
<NavLink to='/essays/indices_essay#DRAWINGS' className='dropdown-item' onClick={this.handleMenuClick}>{navCopy.drawings} </NavLink>
<Route exact path='/addNews' component={PostNews} />
#Backend APi EndPoint
src├---app/components|---server|---|---serverHelpers|---|---components|---|---database|---|---middleware|---|---api|---|---|---index.js #This is where |---|---|---NewsPortal #Controler of news portal located|---|---router.js # Controllers are registered with the routes
#While Defining a route in backend###make sure that you define route in following order
rootRouter .use(apiRouter.routes()) /* render error page when problem found */ .get('/getNews', ctx=>getNews(ctx) ) .post('/createNews', ctx=>setNews(ctx) )
###Before the following route or else the app will render a page not api
.get('error', '/oops', renderReactApp)/* render react app for all other routes/.get('react', '/(.)', renderReactApp)
ctx.request.body would later base his critique of the pathetic fallacy.</p> </div> </div> </body> </text> </TEI>
###Route
/news => getNews/addNews => setNews/getAllUser => userWithPortalAccess
About
The Early Ruskin Manuscripts: an archive of the youthful writing of John Ruskin (1819–1900).