API
Login User
POST
https://projectmatch.me/api/login
This endpoint allows users to login
Headers
content-type
string
set to application/json
Request Body
password
string
Password of user
string
Email of user
Register New User
POST
https://projectmatch.me/api/signup
This endpoint allows new users to register to site
Headers
content-type
string
set to application/json
Request Body
password
string
Password
string
username
string
Username
lastName
string
Last Name
firstName
string
First Name
Google Login
POST
https://projectmatch.me/api/googlelogin
Login with Google Authentication
Path Parameters
idToken
string
idToken passed in from Google function
Headers
content-type
string
application/json
Logout User
GET
https://projectmatch.me/api/logout
Signs out current user
Forgot Password
POST
https://projectmatch.me/api/forgot
Sends an email to passed in email parameter to start the process of re-setting the user password
Path Parameters
string
email of user
Reset Password
POST
https://projectmatch.me/api/reset/:token
Resets the password
Path Parameters
token
string
Request Body
string
Get All Users
GET
https://projectmatch.me/api/users
Returns a list of all users
Get One User
GET
https://projectmatch.me/api/user/:username
Returns individual user data
Path Parameters
username
string
Delete User
POST
https://projectmatch.me/api/user/delete
Deletes user
Request Body
password
string
username
string
De-activates user
POST
https://projectmatch.me/api/user/deactivate
De-activates user
Request Body
password
string
username
string
Activates user
POST
https://projectmatch.me/api/user/activate
Request Body
username
string
password
string
Update User Data
POST
https://projectmatch.me/api/user/update
Updates User Data
Request Body
profileImage
string
string
lastName
string
firstName
string
blogLink
string
twitterLink
string
websiteLink
string
portfolioLink
string
githubLink
string
linkedInLink
string
bookmarked
array
techstack
array
description
string
roles
array
location
string
_id
string
Gets All Projects
GET
https://projectmatch.me/api/projects
Get's all projects
Add New Project
POST
https://projectmatch.me/api/projects/add
Adds new project
Request Body
creator
string
contact
string
tags
array
category
string
status
boolean
lookingFor
array
liveLink
string
mockupLink
string
githubLink
string
team
array
dueDate
string
description
string
name
string
Updates Project
POST
https://projectmatch.me/api/projects/update/:id
Updates project per _id parameter
Path Parameters
id
string
project id
Request Body
string
Delete a Project
DELETE
https://projectmatch.me/api/projects/delete
Request Body
id
string
project id
Upload Profile Image
POST
https://projectmatch.me/api/image/profile
Uploads user profile image to AWS and saves it to corresponding user model
Path Parameters
userName
string
Request Body
string
Upload Project Cover Photo
POST
https://projectmatch.me/api/image/project
Uploads project cover photo to AWS and saves it to corresponding project model
Path Parameters
projectId
string
Request Body
string
Upload Project Revision Image
POST
https://projectmatch.me/api/image/revision
Uploads project revision images to AWS and saves it to corresponding revision model
Path Parameters
revisionNumber
string
user
string
projectId
string
Request Body
string
Last updated