All Projects → dan-divy → Spruce

dan-divy / Spruce

Licence: mit
A social networking platform made using Node.js and MongoDB

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Spruce

Friend.ly
A social media platform with a friend recommendation engine based on personality trait extraction
Stars: ✭ 41 (-89.72%)
Mutual labels:  api, social, mongoose, oauth2, social-login, social-network
Blog Service
blog service @nestjs
Stars: ✭ 188 (-52.88%)
Mutual labels:  api, mongoose, mongodb, express
Mean Stack Angular6 Crud Example
MEAN Stack Angular 6 CRUD Web Application
Stars: ✭ 69 (-82.71%)
Mutual labels:  mongoose, mongo, mongodb, express
Mean Angular4 Chat App
MEAN stack with Angular 4 Chat App
Stars: ✭ 41 (-89.72%)
Mutual labels:  mongoose, mongo, mongodb, express
Mern Boilerplate
Fullstack boilerplate with React, Redux, Express, Mongoose, Passport Local, JWT, Facebook and Google OAuth out of the box.
Stars: ✭ 112 (-71.93%)
Mutual labels:  mongoose, mongodb, express, oauth
Jianshu
仿简书nx+nodejs+nestjs6+express+mongodb+angular8+爬虫
Stars: ✭ 296 (-25.81%)
Mutual labels:  api, mongoose, mongodb, express
Nodejs Restful Api
How to create a RESTful CRUD API using Nodejs?
Stars: ✭ 285 (-28.57%)
Mutual labels:  api, mongoose, mongodb, express
Node Express Mongodb Jwt Rest Api Skeleton
This is a basic API REST skeleton written on JavaScript using async/await. Great for building a starter web API for your front-end (Android, iOS, Vue, react, angular, or anything that can consume an API). Demo of frontend in VueJS here: https://github.com/davellanedam/vue-skeleton-mvp
Stars: ✭ 603 (+51.13%)
Mutual labels:  api, mongoose, mongodb, express
Express Graphql Mongodb Boilerplate
A boilerplate for Node.js apps / GraphQL-API / Authentication from scratch - express, graphql - (graphql compose), mongodb (mongoose).
Stars: ✭ 288 (-27.82%)
Mutual labels:  api, mongoose, mongodb, express
Securing Restful Apis With Jwt
How to secure a Nodejs RESTful CRUD API using JSON web tokens?
Stars: ✭ 301 (-24.56%)
Mutual labels:  api, mongoose, mongodb, express
Chartbrew
Open-source web platform for creating charts out of different data sources (databases and APIs) 📈📊
Stars: ✭ 199 (-50.13%)
Mutual labels:  api, mongo, mongodb
Express Es6 Rest Api
🔋 Starter project for an ES6 RESTful Express API.
Stars: ✭ 2,401 (+501.75%)
Mutual labels:  api, mongoose, express
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (-45.36%)
Mutual labels:  api, mongoose, mongodb
Bulletproof Nodejs
Implementation of a bulletproof node.js API 🛡️
Stars: ✭ 4,369 (+994.99%)
Mutual labels:  mongoose, mongodb, express
authorize-me
Authorization with social networks
Stars: ✭ 44 (-88.97%)
Mutual labels:  social, social-network, social-login
Lad
👦 Lad is the best Node.js framework. Made by a former Express TC and Koa team member.
Stars: ✭ 2,112 (+429.32%)
Mutual labels:  api, mongoose, mongodb
Nodejs Api Boilerplate
A boilerplate for kickstart your nodejs api project with JWT Auth and some new Techs :)
Stars: ✭ 364 (-8.77%)
Mutual labels:  mongoose, mongodb, express
Express Mongodb Rest Api Boilerplate
A boilerplate for Node.js apps / Rest API / Authentication from scratch - express, mongodb (mongoose).
Stars: ✭ 153 (-61.65%)
Mutual labels:  api, mongodb, express
Doclever
做最好的接口管理平台
Stars: ✭ 2,849 (+614.04%)
Mutual labels:  api, mongodb, express
Blog Node
基于 node + express + mongodb 的博客网站后台
Stars: ✭ 364 (-8.77%)
Mutual labels:  mongoose, mongodb, express

Welcome to Spruce

Spruce is a tiny but powerful open-source social networking platform made with Node.js and MongoDB.

Financial Contributors on Open Collective Gitter Codacy Badge Discord

Deployed here

Get the live MongoDB stats out here.

Features

  • Sign in using local authentication, Instagram or Google.
  • Search for your other users.
  • Chat with your friends in realtime.
  • All feeds divided into 3 categories
    • thoughts (tweets)
    • events (location can be specified)
    • moments (personal post)
  • Like and comment on a feed.
  • API for developers
  • View your/others profile.
  • Follow a particular user and get notified for his/her activities.
  • Change your profile picture, bio, people who follow you etc.
  • Electron app

And a lot more to be added soon...

To Do's

  • Activity feature for user to see follow requests and his/her daily activity.
  • Notifications

Requirements

Installation

Clone the repo locally then install all the dependencies using NPM

$ git clone https://github.com/dan-divy/spruce.git
$ cd spruce
$ npm i

Local Development

Before running, we need to add the Instgram and Google API Credentials to the project. Under the config directory of the repo, you will find instagram.js and google.js. We need to add the <CLIENT_ID>, <CLIENT_SECRET> and <host>:<port> with our own API credentials

/** REPLACE YOUR API CREDENTIALS HERE **/
var in_client_id = 'XXXXXXXXXXXXXXXXXX', // <CLIENT_ID>
    in_client_secret = 'XXXXXXXXXXXXXXXXXXXX', // <CLIENT_SECRET>

Now Replace the <host> & <port> with the redirect uri specified in the Instagram API Dashboard and Google API Dashboard. Default is http://localhost:80/account/oauth.

var in_redirect_uri = "http://localhost:80/account/oauth/:service";

Finally start the MongoDB server in a seperate bash/pm2

$ mongod

and then start the spruce server via npm.

$ npm start

To know

spruce uses mongoose as an ORM for performing CRUD operations on MongoDB and express.js for server-side HTTP routing.

This project needs contributors!!

Authors

Contributors

Code Contributors

This project exists thanks to all the people who contribute. [Contribute].

Financial Contributors

Become a financial contributor and help us sustain our community. [Contribute]

Individuals

Organizations

Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]

License

(The MIT License)

Copyright (c) 2019 Divy Srivastava [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].