The same pre-requisites from sba_318_express_app applies to this project.
The following are the additional Routes, views, middlewares:Routes:
app.use('/', indexRoutes);
app.use('/add', addRoutes);
app.use('/add/single', addRoutes);
app.use('/add/multiple', addRoutes);
app.use('/details', imageDetailsRoutes);
app.use('/gallery', galleryRoutes);
app.use('/login', loginRoutes);
app.use('/logout', logoutRoutes);
app.use('/register', registerRoutes);
app.use('/users', userRoutes);
Middlewares:
middlewares/
|-- errorHandler.js
|-- isLoggedIn.js
- Home Page:
- Register Page:
- Login:
- Add Image Page:
- Gallery Page:
- Details Page:
- Photographers Page:
Download or clone the repository, install the dependencies using:
npm install