Aptoide App Store (Most up-to-date version): https://boardgeek.en.aptoide.com/
cd backend
npm install
npm run devStart
Application will listen to Port 5000 if no System Env is configured.
npm install --global expo
cd frontend-mobile
npm install
npm run start
cd frontend-web
npm install
npm run start
Route: '/users/register'
Method: POST
data: {
"firstName": "",
"lastName": "",
"email": "",
"password": ""
}
Response: {
"message": "",
"user": {
"firstName": "",
"lastName": "",
"email": "",
"password": ""
}
Route: '/users/login'
Method: POST
data: {
"email": "",
"password": ""
}
Response: {
"message": "",
"accessToken": ""
}
Route: '/users/forgot_password'
Method: POST
data: {
"email": ""
}
Response: {
"message": "",
"token": "",
"expiresAt": ""
}
Route: '/users/reset_password'
Method: POST
data: {
"email": "",
"token": "",
"password": ""
}
Response: {
"message": "User password updated successfully"
}
Route: '/users/update'
Method: PUT
data: {
"id": "",
"email": "",
"token": "",
"password": ""
}
Response: {
"message": "User profile updated successfully"
}
Route: '/users/delete'
Method: DELETE
data: {
"id": "",
}
Response: {
"message": "User profile deleted successfully"
}
Route: '/users/:verificationToken'
Method: GET
Response: {
"message": "User Email Verified Succesfully"
}
Route: '/events/create'
Method: POST
data: {
"id": "",
"eventName": "",
"game": "",
"location": "",
"numOfPlayers": "",
"eventDate": "",
"duration": ""
Response: {
"message": "Event Created Successfully!"
}
Route: '/events'
Method: GET
Response: {
"_id": "",
"host": "",
"eventName": "",
"game": "",
"location": "",
"numOfPlayers": "",
"eventDate": "",
"duration" "",
"__v": ""
}
Route: '/events/id'
Method: GET
data: {
"id": ""
Response: {
"_id": "",
"host": "",
"eventName": "",
"game": "",
"location": "",
"numOfPlayers": "",
"eventDate": "",
"duration": "",
"__v": "",
"verified": "",
"_id": "",
"firstName": "",
"lastName": "",
"email": "",
"password": "",
"verificationToken": "",
"createdAt": "",
"__v": "",
"passwordRestExpires": "",
"passwordResetToken": ""
}
Route: '/events/update'
Method: PUT
data: {
"id": "",
"eventName": "",
"game": "",
"location": "",
"numOfPlayers": "",
"eventDate": "",
"duration": ""
Response: {
"message": "Event Updated Successfully!"
}
Route: '/events/delete'
Method: DELETE
data: {
"id": "",
Response: {
"message": "Event Deleted Successfully!"
}