Skip to content

Releases: labseu2-niyon/backend

First Release Cycle

06 Sep 15:29
cc5000e
Compare
Choose a tag to compare
v1.0 Deploy to production (#55)

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* feature
-creates Industries, Mentors and Mentees Table

* --no-amend

* user router created

Co-authored-by: rui <[email protected]>

* User Auth By Social Media

* --no-amend

* --no-amend

* --no-amend

* Added Db configuration and connection changes

* --no-amend

* --no-amend

* --no-amend

* Start adding passport local strategy

Co-authored-by: Damola Adewunmi <[email protected]>
Co-authored-by: Ikechukwu Eze <[email protected]>

* Rename files and fix router to pass tests

* ft/create-Mentoring_types-Pivot-Tables
-created Mentoring_types, Mentees_choices Mentor_chioces Table
-implemented many to many relationship between Mentor Mentee and Mentorying_types

* --no-amend

* local database connected

* Deleted user-router file

* --no-amend

* --no-amend

* --no-amend

* Deleted UserAuth file

* Deleted mentor test

* --no-amend

* refactored mentor file to use response helper

* Created response helper

* Added Create User profile endpoint

* Commented out the as keyword from mentor and mentee choices

* --no-amend

* Added editUserProfile feature

* Add bcrypt and add signup endpoint

* --no-amend

* added tests

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* refactored updateuserProfile

* ft/seed-users-table
added demo-user username password first_name last_name password and email

* --no-amend

* --no-amend

* wrote some tests for update profile endpoint

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* --no-amend

* added mentor controllers

* Add OS specific exclusions

Based on https://www.gitignore.io/api/linux,macos,windows

* Added test for mentorRoute

* commented out mentor test file

* removed console.log

* delete mentor test file

* refactored code

* Add login functionality and work on social auth

* fixed some bugs on mentors and users endpoint

* no-amend

* Fix signup and login endpoints

Co-authored-by: Nmeregini Vincent <[email protected]>

* Add signup validator

* Replace bcrypt with bcryptjs

* Remove extra console.log

* Remove console;log

* fixed getUsers endpoint

* turned sequelize scripts to use locally installed executables

* Tested getallUsers endpoint

* viewUserProfile fixed. bug

* Test for viewUserProfile  passed

* Add comment to mentors controller

* Add initial implementation of Github strategy

Co-authored-by: Nmeregini Vincent <[email protected]>

* Changed  status codes

* made changes as requested

* damola changes

* GetAllMentors debugged and tested

* Add logout endpoint

* no_amend

* makeUserMentor feature debugged and fixed, tests implemented and passing

* deleted comment as requested

* All tests passed. Made changes as requested by Vincent

* damola changes

* Added condition to test

* Complete github signup/login

* Remove unused logout endpoint

* Cleanup code

* mentee routes written

* Endpoints tested on Insomnia. Working as expected

* Added standard tests for mentee endpoints

* ft/mentoryinTypes-techName
creates techJob table and seeds mentoryingType, techJob table

* added niyon logo to mail

* Made changes as requested by Rui

* Made changes requested by Rui

* getallJobs written and tested

* Attach token to response when signing up

* getMentoringTypes written

* Refactored mentoringTypes

* Add test

* add autocomplete and corresponding tests

* removed sum function in index

* Remove bio requirement

* removed test for unecessary sum function

* ft/socialMedia
-created social media Table
-seeded social media Table
-created endpoint to add a user's social media handle

* skipped autocomplete test as it takes so much time

* Fix bug on update profile endpoint

* ft/socialMedia
-created social media Table
-seeded social media Table
-created endpoint to add a user's social media handle

* update user password endpoint

* tests pass with new account

* add more waiting time to image upload test

* no-amend

* skipped image upload test

* update with development

* wip

* returns unique locations

* removed babel-jest and resolved requested changes on the PR

* Find or create location endpoint written

* refined get user by username data

* Made changes to test files

* changed expected test result

* no_amend

* Made the changes as requested

* no-amend

* Changed validation on location model

* Removed  auth protection from locatiom route

* modified the data that gets returned when fetching all users

* Added some more endpoints

* uncommented line

* Refactored user profile update

* made small changes

* Made changes  as requested by Rui

* Fixed validation error on Location

* Add Mentee and Mentor to getUserByUsername

* Add Mentee and Mentor to getAllUsers

* Change token expiration to 14 days