Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/talha08/blog-with-express-mongodb
Advanced Database Course Project
https://github.com/talha08/blog-with-express-mongodb
expressjs jade-framework mongodb mongoose nodejs passport
Last synced: 7 days ago
JSON representation
Advanced Database Course Project
- Host: GitHub
- URL: https://github.com/talha08/blog-with-express-mongodb
- Owner: talha08
- License: other
- Created: 2017-03-21T23:35:00.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-22T08:40:52.000Z (almost 8 years ago)
- Last Synced: 2024-11-08T04:15:16.340Z (about 2 months ago)
- Topics: expressjs, jade-framework, mongodb, mongoose, nodejs, passport
- Language: JavaScript
- Homepage:
- Size: 153 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## Requirements
* [NodeJs](http://nodejs.org) >= 6.x
* [mongodb](http://mongodb.org)## Install
```sh
$ git clone https://github.com/talha08/blog-with-express-mongodb.git
$ npm install
```**NOTE:** Do not forget to set the facebook, twitter, google, linkedin and github `CLIENT_ID`s and `SECRET`s. In `development` env, you can set the env variables by doing
```sh
cp .env.example .env
```and replace the values there. In `production` env, it is not safe to keep the ids and secrets in a file, so you need to set it up via commandline. If you are using heroku checkout how environment variables are set
If you want to use image uploads, don't forget to set these env variables for
imager config.```sh
IMAGER_S3_KEY=AWS_S3_KEY
IMAGER_S3_SECRET=AWS_S3_SECRET
IMAGER_S3_BUCKET=AWS_S3_BUCKET
```then
```sh
$ node server.js
```Then visit [http://localhost:3000/](http://localhost:3000/)
## Tests
```sh
$ npm test```
Getting Support from "madhums" project.