Loading repository data…
Loading repository data…
JacobGrisham / repository
Monolithic model-view-controller full-stack web application built with Node.js, Express.js, MonogDB, Jest, EJS, and Bootstrap. Integration-tested with Jest. Server hosted on Heroku with CircleCI CI/CD, Database hosted on MongoDB Atlas, served over Cloudflare CDN with Google Domains as DNS provider.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
(ignoring image and SEO files)
|-- README.md
|-- app.js
|-- globalConfig.json
|-- index.test.js
|-- jest-mongodb-config.js
|-- jest.config.js
|-- middleware
| `-- index.js
|-- models
| |-- campground.js
| |-- comment.js
| |-- review.js
| `-- user.js
|-- package-lock.json
|-- package.json
|-- public
| `-- stylesheets
| |-- analytics.js
| |-- main.css
|-- routes
| |-- campgrounds.js
| |-- comments.js
| |-- index.js
| `-- reviews.js
`-- views
|-- campgrounds
| |-- edit.ejs
| |-- index.ejs
| |-- new.ejs
| `-- show.ejs
|-- comments
| |-- edit.ejs
| `-- new.ejs
|-- landing.ejs
|-- login.ejs
|-- partials
| |-- footer.ejs
| `-- header.ejs
|-- register.ejs
|-- reviews
| |-- edit.ejs
| |-- index.ejs
| `-- new.ejs
`-- users
`-- show.ejs
Create an .env file and add values to the following variables:
GEOCODER_API_KEY=
API_KEY=
DATABASEURL=
PASSPORT_SECRET=
ADMIN_CODE=
Make sure you have MongoDB installed on your system In a terminal window, initialize a MongoDB Database
$ ./mongod
In a second terminal window, access the MongoDB Database with Mongoose
$ mongoose
In a third terminal window, install dependencies using npm:
$ npm install
And then run the application with
$ npm start
or for hot reloading (recommended)
$ nodemon app.js
To run the tests:
$ npm test
Copyright Notice and Statement: currently not offering any license. Permission only to view and download.