Skip to content

Dare to have a startup? Meet your future co-founder here with partnerup

Notifications You must be signed in to change notification settings

kenduigraha/partnerup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

partnerup portofolio

How to Run App

  1. client
cd client
npm install
bower install
gulp
  1. server
cd server
npm install
npm run dev

Dependencies

  1. express generator
  2. passport
  3. passport-local
  4. passport-local-mongoose
  5. dotenv
  6. mongodb
  7. mongoose
  8. nodemon
  9. jsonwebtoken
  10. multer
  11. bower
  12. gulp
  13. browser-sync
  14. jwt-decode
  15. jQuery
  16. bootstrap
  17. gmaps.js

Database

  1. name : db_partnerup
  2. collections : Users, Descriptions

Schema

  1. Users
let UserSchema = new Schema ({
  "username" : String,
  "password" : String,
  "email"  : String,
  "photo" : String,
  "location" : {
    "lat" : String,
    "lng" : String
  }
},{
  "timestamps" : true
  })
  1. Descriptions
let DescriptionSchema = new Schema ({
  "title" : String,
  "content" : String,
  "looking_for" : String,
  "username" : String,
  "photos" : String,
  "location" : {
    "lat" : String,
    "lng" : String
  }
},{
  "timestamps" : true
  })

API

Default development port & host : http://localhost:3000

Users

Routes HTTP Description
/api/users POST register new user
/api/users/login POST login user

Descriptions

Routes HTTP Description
/api/description POST process new description
/api/description GET show all descriptions
/api/description/:id PUT edit a description
/api/description/:id DELETE deleet a description

Contributor

Ken Duigraha Putra © 2016

License

MIT

About

Dare to have a startup? Meet your future co-founder here with partnerup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published