Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature/project #166

Open
wants to merge 151 commits into
base: develop
Choose a base branch
from
Open

Commits on Mar 21, 2024

  1. Configuration menu
    Copy the full SHA
    de39fa3 View commit details
    Browse the repository at this point in the history
  2. change thumbs.db b00tc4mp#17

    Eduardolans committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    146c2a3 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2024

  1. Configuration menu
    Copy the full SHA
    cc382dc View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2024

  1. Configuration menu
    Copy the full SHA
    4d4b952 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3ed83e5 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2024

  1. Configuration menu
    Copy the full SHA
    f2b5beb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47ef1a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    42e6f52 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    766e43b View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    843bf6a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1ab51da View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bb3b90b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    7d340c2 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Configuration menu
    Copy the full SHA
    ed7b0fe View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. install tailwind, adjust its config file; apply tailwind styles in ap…

    …p; modify view components(register, login, home); b00tc4mp#165
    Eduardolans committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    f09f7a7 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. separate core components into folders; add button, link & title compo…

    …s; add getAllAds logic, handler, & test in api; create getAllAds in App and apply it in Home; b00tc4mp#165
    Eduardolans committed Aug 7, 2024
    Configuration menu
    Copy the full SHA
    a644b4f View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. modify logics getAllAds in api & app; modify home view to show ads; a…

    …dd installation and execution instructions in readme files in both, api & app; b00tc4mp#165
    Eduardolans committed Aug 8, 2024
    Configuration menu
    Copy the full SHA
    231bc3c View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. add createAd logic, handler, & tests(node & curl)in api; add createAd…

    … logic in app; add Ad component and its styles; add validation for price property; b00tc4mp#165
    Eduardolans committed Aug 9, 2024
    Configuration menu
    Copy the full SHA
    42cf46b View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2024

  1. add deleteAd logic, its handler, & tests(node & sh); add deleteAd log…

    …ic in app; rename Ad component to AdList & create Ad component in app; b00tc4mp#165
    Eduardolans committed Aug 10, 2024
    Configuration menu
    Copy the full SHA
    c3ac819 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2024

  1. Configuration menu
    Copy the full SHA
    1ec22b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2024

  1. change names api & app to Backend & Frontend respectively; modify ins…

    …tructions in readme files in front & back; b00tc4mp#165
    Eduardolans committed Aug 13, 2024
    Configuration menu
    Copy the full SHA
    509c443 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2024

  1. Configuration menu
    Copy the full SHA
    a32e945 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55e0986 View commit details
    Browse the repository at this point in the history
  3. change deleteAd logic to function in frontend & eliminate console log…

    …s; update syntax in the catch by removing errors.; b00tc4mp#165
    Eduardolans committed Aug 14, 2024
    Configuration menu
    Copy the full SHA
    3f937ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1aee12d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    12bb90c View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2024

  1. add logic get user info & its tests(node, curl) in backend; add get u…

    …ser info logic in frontend; add utils folder with a function to validate & extract the payload from a JWT in frontend; b00tc4mp#165
    Eduardolans committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    7d1e79d View commit details
    Browse the repository at this point in the history
  2. update logic get user info and its handler to bring all user data in …

    …backend; delete adlist route in App file, update get user info, & move logic from home to Adlist component in frontend; b00tc4mp#165
    Eduardolans committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    dfe78d7 View commit details
    Browse the repository at this point in the history
  3. add logoutUser logic, move logic to get user info from adlist to home…

    …, create Header component & its styles & apply it in App file, correct navigate in Login view, and modify styles in frontend; b00tc4mp#165
    Eduardolans committed Aug 15, 2024
    Configuration menu
    Copy the full SHA
    0fd564d View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2024

  1. add createAdForm component, add routeto navigate to view for this com…

    …ponent, organize elements in header and its styles in frontend; b00tc4mp#165
    Eduardolans committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    d2ac614 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2024

  1. add isUserLoggedIn logic & add it to routes in App, add token authori…

    …zation in createAd logic, add param user in Header & move Header renderization from App to Home, update Title component & add new title in Login view, add confirm message in Ad compo, add date in AdList compo in frontend; update createAdHandler to print data in backend; b00tc4mp#165
    Eduardolans committed Aug 17, 2024
    Configuration menu
    Copy the full SHA
    9a3f8a9 View commit details
    Browse the repository at this point in the history

Commits on Aug 19, 2024

  1. add createAdButton compo & styles, add it to home view; remove try-ca…

    …tch from CreateAdForm in frontend; b00tc4mp#165
    Eduardolans committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    857635c View commit details
    Browse the repository at this point in the history
  2. in frontend: create time function with desired format & add it to Adl…

    …ist, add icons for header(logout, search, & info) & update its styles; b00tc4mp#165
    Eduardolans committed Aug 19, 2024
    Configuration menu
    Copy the full SHA
    7d87f7c View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. in frontend:update Title compo, add createComment compo, add createAd…

    …Comment logic, add AdPage view and it route in App, modify Adlist compo to navigate to adpage, add getAdId & createAdCommnet logics; in backend: add createAdComment & getAdId logics & handlers, add tests for createAdComment(node & curl); b00tc4mp#165
    Eduardolans committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    34c3167 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    02fe3aa View commit details
    Browse the repository at this point in the history
  3. update CreateComment wt createAdComment logic & renderization; add se…

    …cond populate in Ad logic to bring ad comments; add userId to sessionStorage in loginUser logic; update AdPage view wt CreateComment compo & its renderization; update Ad compo wt stop propagation to handle the delete ad onclick only on its button; update AdList compo to show delete button only for ads created by the same user that is logged in b00tc4mp#165
    Eduardolans committed Aug 21, 2024
    Configuration menu
    Copy the full SHA
    5fe8dc2 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. add handle in AdPage view to show comments after creation & change ca…

    …ncel button to Link; add try-catch, Button & useState to show message in CreateAdForm compo; add try-catch, useState, f
    
    orm reset, onAdCommentSubmitted param, & update button to compo in CreateComment compo; change name logics from getAdId to getAd; b00tc4mp#165
    Eduardolans committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3ae9c42 View commit details
    Browse the repository at this point in the history
  2. change Link compo to Link from react-router-dom, remove handle to nav…

    …igate to Login, & add Title for app name in Register; move Link from AdPage view to CreateComment compo, use Link from react-router-dom instead & add styles for Cancel Link; b00tc4mp#165
    Eduardolans committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3713aec View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9a5a009 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3a5cc1f View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. in backend: update name from deleteComment to deleteAdCommnet & its l…

    …ogic; add tests(node & curl) for deleteAdComment logic; add searchAds logic, handler, route & node test; b00tc4mp#165
    Eduardolans committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7137212 View commit details
    Browse the repository at this point in the history
  2. in backend: remove the _id conversion to id; in frontend: add deleteA…

    …dComment logic; change url endpoint to ad from ads in getAd logic; add searchAds logic, add SearchBox compo & appy it to Home view; add use state for renderization in home; expand funtionality in AdPage compo to delete ad comments, change param from id to _id in Ad compo; add Home useState params & add index as key in AdList compo; add DeleteAdComment compo; add param & onClick funtionality for the search icon in Header; add SearchBox compo; b00tc4mp#165
    Eduardolans committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7abcd20 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    84244af View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    529747e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    5ad203a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    079e91c View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2024

  1. centralize data fetching & state management in Home compo: move loadA…

    …ds & handleAdDeleted functions from AdList to Home; separate getUserInfo logic into ist own function(fetchUserInfo); update props in AdList component(adsFiltered & onAdDeleted); b00tc4mp#165
    Eduardolans committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    ef1a2a7 View commit details
    Browse the repository at this point in the history
  2. move if statement to wrap entire delete logic; remove the ad._id prop…

    … when calling onAdDeleted(reload all ads in Home already); add classname to div; b00tc4mp#165
    Eduardolans committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    d886c71 View commit details
    Browse the repository at this point in the history
  3. add searchText state in SearchBox compo; modify input to controlled f…

    …untionality; add handleSearchChange function to update state as user types; modify handleSearchSubmit to use state value instead
    
    of input value; add input clearing with setSearchText(); add div to wrap form contents; add classes & styles; b00tc4mp#165
    Eduardolans committed Aug 24, 2024
    Configuration menu
    Copy the full SHA
    eee52b9 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. change styles in Home, AdPage, AdList, CreateAdButton, CreateComment,…

    … Header, & SearchBox; add styles for DeleteAdComment; create new class names in files accordingly; move CreateAdButton outside div; add Link to return to ads from AdPage; add footer & place CreateAdButton in it; add message for errors in DeleteAdComment compo; b00tc4mp#165
    Eduardolans committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2db65be View commit details
    Browse the repository at this point in the history
  2. add clear search functionality & logo in SearchBox compo; add conditi…

    …onal ternary operator in AdList; add & update styles in SearchBox compo; ad file Context(unused); b00tc4mp#165
    Eduardolans committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    2dcbb39 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. replace filterAds function with searchAds logic, remove adsFiltered s…

    …tate & add state variable isLoading in Home; add ads prop & remove adsFiltered in AdList compo; remove filterAds prop & add searchText, setSearchText, onSearch props & remove searchText state variable in SearchBox compo; b00tc4mp#165
    Eduardolans committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    aca2d71 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    394b72d View commit details
    Browse the repository at this point in the history
  3. move logics(loadAds & handleSearch) in Home to components AdList & Se…

    …archBox respectively; remove cancel button in CreateComment compo; remove back to ads button in AdPage compo & add arrow back button instead; add button to update Ad compo ( without logic yet); b00tc4mp#165
    Eduardolans committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5f0d2d6 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Configuration menu
    Copy the full SHA
    0ca7bd0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0e5a1bf View commit details
    Browse the repository at this point in the history
  3. update Home, AdList, & SearchBox compos by moving states to children …

    …componets; use navigate & location for queries in Home & add useEffect to update search changes, move searchAds logic from SearchBox to AdList; remove loadAds from SearchBox; add handleClearSearch in SearckBox compo; b00tc4mp#165
    Eduardolans committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8fe84c6 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Configuration menu
    Copy the full SHA
    4cf56d0 View commit details
    Browse the repository at this point in the history
  2. add conditional & key in Home; add useEffect in searchBox to keep tex…

    …t in SearBox compo to update the searchText state with new value of initialSearchText; add logical operator to handle undefined/null values; b00tc4mp#165
    Eduardolans committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    2dd6965 View commit details
    Browse the repository at this point in the history
  3. add params & validations in updateAd logic; add handler and route for…

    … updateAd; add test(node & curl) for updatead; b00tc4mp#165
    Eduardolans committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    96b6cdb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f073fb View commit details
    Browse the repository at this point in the history
  5. remove key & initialize currentSearchText state variable to null; add…

    … conditional rendering statement for the Adlist in Home; b00tc4mp#165
    Eduardolans committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    e5eae8b View commit details
    Browse the repository at this point in the history
  6. add UpdateAdForm view; add updateAd logic in frontend; add route path…

    … for UpdateAdForm view in App; update navigate route in Ad compo; b00tc4mp#165
    Eduardolans committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    a6ead6f View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. move logics from Home & AdList to Context; use context in Home & AdLi…

    …st & modify props; update Ad compo to receive props on ad deleted to load the ads after deletion; b00tc4mp#165
    Eduardolans committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    e39eb85 View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    2b1fb5f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2024

  1. change name logic getUserInfo to getUsername & update implementations…

    … in other files; add logic getUserInfo, handler, route, & tests(node, curl); b00tc4mp#165
    Eduardolans committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    18b5569 View commit details
    Browse the repository at this point in the history
  2. add views(MyAccount, MyAds, & MyComments); add UserInfoMenu compo & u…

    …se it in Header; add funtionality to MyAccount view to show user info on click; create route to navigate to MyAccount view; add logic getUserInfo in frontend; b00tc4mp#165
    Eduardolans committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9e9361c View commit details
    Browse the repository at this point in the history
  3. add getUserAds logic, handler, route definition, & tests(node, curl);…

    … add json stringify in tests to convert adcommnets object to JavaScript Object Notation; b00tc4mp#165
    Eduardolans committed Sep 6, 2024
    Configuration menu
    Copy the full SHA
    9c80364 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2024

  1. add logic getUserAds in frontend, add code funtionality in MyAds view…

    … with state variable & use effect; add path route in App for MyAds view; add handle in UserInfoMenu to navigate to MyAds view on click; b00tc4mp#165
    Eduardolans committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    f7e2cae View commit details
    Browse the repository at this point in the history
  2. change route paths for MyAds & MyAccount in App; remove userId props …

    …as it is extracted from JWT; add div in Header compo; change styles SearchBox & AdList compos to see full drop-down menu; b00tc4mp#165
    Eduardolans committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    de5d72b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6f8e90d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    974b7b2 View commit details
    Browse the repository at this point in the history
  5. add event stop propagation with confirm in DeleteAdComment compo; add…

    … alert for error handling in logic; remove message state variable; change onAdCommentSubmitted to onCommentDeleted for clarity in DeleteAdComment compo; b00tc4mp#165
    Eduardolans committed Sep 7, 2024
    Configuration menu
    Copy the full SHA
    dd909a2 View commit details
    Browse the repository at this point in the history

Commits on Sep 9, 2024

  1. remome event stop propagation in DeleteAdComment compo in frontend; …

    …add spec test for authenticateUser & createAd logics in backend; b00tc4mp#165
    Eduardolans committed Sep 9, 2024
    Configuration menu
    Copy the full SHA
    9ac81e7 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Configuration menu
    Copy the full SHA
    ed675aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f6869e6 View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2024

  1. add spec test for deleteAdComment logic; update styles to show text b…

    …elow search box when there are no ads; b00tc4mp#165
    Eduardolans committed Sep 11, 2024
    Configuration menu
    Copy the full SHA
    79f88bb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    97952da View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    8dd3d0a View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2024

  1. Configuration menu
    Copy the full SHA
    dee1f0b View commit details
    Browse the repository at this point in the history
  2. add funtionality to get the comments in the ads from the user logged …

    …when navigating to MyAds view; add styles for ad comments; b00tc4mp#165
    Eduardolans committed Sep 13, 2024
    Configuration menu
    Copy the full SHA
    6d5f586 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8b9d82b View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2024

  1. Configuration menu
    Copy the full SHA
    1de869e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cd61b9a View commit details
    Browse the repository at this point in the history
  3. add getUserComments logic in frontend; update logic in backend to ret…

    …urn adsWithUserComments instead of the whole ads; create route path for MyComments compo/view; add code/logic & funtionality to MyComments; add hadle for MyComments in UserInfoMenu; b00tc4mp#165
    Eduardolans committed Sep 16, 2024
    Configuration menu
    Copy the full SHA
    55d4da0 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. add Confirm & Alert compos with styles; update useContext code & elim…

    …inate containing folder;add Context.Provider in App to pass down the handleMessage function & allow other compos to trigger alert messages by calling alert; apply useContext in Home & Login; b00tc4mp#165
    Eduardolans committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    a535cb9 View commit details
    Browse the repository at this point in the history
  2. add geoLocation property in data model & files using createAd logic; …

    …add validation for location; add browser geolocation API & pass along with the ad creation request; add useState to manage user location(latitude & longitude); b00tc4mp#165
    Eduardolans committed Sep 17, 2024
    Configuration menu
    Copy the full SHA
    57e453e View commit details
    Browse the repository at this point in the history

Commits on Sep 18, 2024

  1. Configuration menu
    Copy the full SHA
    d6e8b24 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    20264a1 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2024

  1. Configuration menu
    Copy the full SHA
    e799273 View commit details
    Browse the repository at this point in the history
  2. remove message state variable & its applications in Home & Login; rem…

    …ove unused code; change styles in SearchBox compo to improve visibility below Header; match styles in Ad compo buttons; add styles to UserInfoMenu to display on top of SerachBox; change width & height to auto values in Alert compo; b00tc4mp#165
    Eduardolans committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    9732d0e View commit details
    Browse the repository at this point in the history
  3. install leaflet & react-leafleat; add MapComponent compo & implement …

    …it in AdPage compo; remove z-index in SearchBox styles to control the staking order of elements; b00tc4mp#165
    Eduardolans committed Sep 19, 2024
    Configuration menu
    Copy the full SHA
    8825099 View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. add prettier file to the BE project; add conditional in case geolocat…

    …ion is missing in createAd logic; add lat & long object properties in spec tests(createAd & deleteAd; add geolocation in test curl for create-ad; b00tc4mp#165
    Eduardolans committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    f27cde4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9666605 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2024

  1. add further styles in UserInfoMenu & move them to css file; update st…

    …yles in Header compo with z-index to show UserInfoMenu items on top of SearchBox when clicked; change styles in SearchBox to be below Header; modify styles in AdList for better visibility & remove Posted by before ad author; b00tc4mp#165
    Eduardolans committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    c1b26dc View commit details
    Browse the repository at this point in the history
  2. add styles to MyAccount compo; change styles for better visibility in…

    … Header, Title, MyAds, & MyCommnets; add Arrow in all UserInfoMenu components to go back to previous page; separate styles into css files; b00tc4mp#165
    Eduardolans committed Sep 21, 2024
    Configuration menu
    Copy the full SHA
    659c3a5 View commit details
    Browse the repository at this point in the history

Commits on Sep 23, 2024

  1. add geolocation prop in logics backend; add further cases in test spe…

    …c getUsername; add further cases in createAd spec test; add registerUser spec test, modify validate for geoLocation; reduce top margin in AdList view; b00tc4mp#165
    Eduardolans committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    ec3ffde View commit details
    Browse the repository at this point in the history
  2. add type property in Button(CreateAdForm); modify margin top in alert…

    … to be visible in center;remove second NotFoundError for ad in CreateAdComment; add contactInfo property in Ad data model; b00tc4mp#165
    Eduardolans committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    aad9d37 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5e24d1b View commit details
    Browse the repository at this point in the history
  4. in Backend: add contactInfo property in createAd logic, handler, test…

    …, & spec tests; add spec test for getUserInfo logic; add validation for contactInfo; in Frontend: add contactInfo property in createAdlogic, CreateAdForm & AdPage; add styles for contactInfo in AdPage & modify styles in Confirm compo to center box; b00tc4mp#165
    Eduardolans committed Sep 23, 2024
    Configuration menu
    Copy the full SHA
    3a708b6 View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2024

  1. modify styles in MyAccount compo for improved visualization & consist…

    …ency; clean-up unused & commented code; b00tc4mp#165
    Eduardolans committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    dc8545b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b294ed View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e1cfa62 View commit details
    Browse the repository at this point in the history
  4. move funtion fetchUserLocation from Home to SearchBox & use it in use…

    …Effect; add onLocationUpdate param in SearchBox; add conditional in useEffect in Home to return to search results when going back maintaining the search input &user location; b00tc4mp#165
    Eduardolans committed Sep 24, 2024
    Configuration menu
    Copy the full SHA
    4d9e08e View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2024

  1. Configuration menu
    Copy the full SHA
    b69a2f8 View commit details
    Browse the repository at this point in the history
  2. add contactInfo param in updateAds logics, handler, & UpdateAdForm co…

    …mpo;add styles for UpdateAdForm; modify error message in SystemError to standardize it; add useContex for alerts in MyAccount, MyAds, & MyComments compos; b00tc4mp#165
    Eduardolans committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    0dec12d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f7b6100 View commit details
    Browse the repository at this point in the history
  4. add useContext for alerts in AdList compo; modify styles in alert & c…

    …onfirm compos; add/modify styles & classNames in other compos; b00tc4mp#165
    Eduardolans committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    4757d42 View commit details
    Browse the repository at this point in the history
  5. move calculateDistance logic from frontend to backend; add round styl…

    …ess for buttons in UpdateAdForm compo; b00tc4mp#165
    Eduardolans committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    03458ef View commit details
    Browse the repository at this point in the history
  6. modify api route for createAdHandler & logic FE; add maxDistance para…

    …m & query in searchAdsHandler; add searchAds spec test & add arguments (lat, long, maxDistance) in node test; add contactInfo in body create-ad curl request; add geographic filters(lat, lng, maxDistance) in search-ads curl request; b00tc4mp#165
    Eduardolans committed Sep 25, 2024
    Configuration menu
    Copy the full SHA
    ae5f50a View commit details
    Browse the repository at this point in the history

Commits on Sep 26, 2024

  1. add validate for searchText & userLocation in BE searchAds logic; rem…

    …ove value from maxDistance variable in searchAdsHandler; b00tc4mp#165
    Eduardolans committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    96b9181 View commit details
    Browse the repository at this point in the history
  2. add default value for the maxDistance parameter in searchAdsHandler; …

    …add validation for maxDistance in searchAds logic, add validadeMaxDistance function in validate file; try maintining user search & location with handler & navigatio(back previous to a search page & user location as part of the state; b00tc4mp#165
    Eduardolans committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    b0b600c View commit details
    Browse the repository at this point in the history
  3. add userLocation param in loadFilteredAds (AdList); remove dependency…

    … array in useEffect to run only once component mounts(SearchBox); add null state initialization & simplify useEffect(sets currentSearchText based on q; only depends on search) in Home; claean up code AdPage compo; b00tc4mp#165
    Eduardolans committed Sep 26, 2024
    Configuration menu
    Copy the full SHA
    e016dd4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0f2d2d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6429950 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2024

  1. Configuration menu
    Copy the full SHA
    dea896b View commit details
    Browse the repository at this point in the history
  2. increase searchText length in validation & add condition for empty ar…

    …ray in searchAds logic; modify cases for searchAds spec test; b00tc4mp#165
    Eduardolans committed Sep 27, 2024
    Configuration menu
    Copy the full SHA
    611e1bf View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2024

  1. Configuration menu
    Copy the full SHA
    8dbcf09 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f2d92f0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ce1093 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2024

  1. Configuration menu
    Copy the full SHA
    04edf09 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2024

  1. Configuration menu
    Copy the full SHA
    ec20214 View commit details
    Browse the repository at this point in the history
  2. change dependency to adId in useEffect; add error handlin

    g to chooseAdtoUpdate function; remove onClick handler from submit button; add contactInfo in request body curl test updateAd; b00tc4mp#165
    Eduardolans committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    832efcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e8c3e83 View commit details
    Browse the repository at this point in the history
  4. add try-catch in fetchUserLocation function & add useContext for aler…

    …ts in SearchBox compo; replace console logs with alerts in getuserLocation function & Searchbox compo; b00tc4mp#165
    Eduardolans committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    a94bbea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3bb563a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f4ea3bf View commit details
    Browse the repository at this point in the history
  7. move files in CreateAdForm folder into separate files in views & chan…

    …ge file path for imports where necessary; modify styles in Confirm compo to improve its visibility message in AdPage for deleting comments; add useContext for alerts in DeleteAdComment compo; b00tc4mp#165
    Eduardolans committed Sep 30, 2024
    Configuration menu
    Copy the full SHA
    4f83794 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    769943d View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2024

  1. Configuration menu
    Copy the full SHA
    42bbca7 View commit details
    Browse the repository at this point in the history
  2. remove useNavigate; handle route logics in separate components(render…

    …s) & move conditional rendering to them; b00tc4mp#165
    Eduardolans committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    5af7ddd View commit details
    Browse the repository at this point in the history
  3. modify readme files; modify response status to send response without …

    …payload; remove result of updateAd; change id to raw MongoDB document ID; b00tc4mp#165
    Eduardolans committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    22da242 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d8d7106 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb91aa9 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    97e648f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    62f545f View commit details
    Browse the repository at this point in the history
  8. add empty array to reset ads state if error(clears previous loaded ad…

    …s before error message; modify styles to wrap text in comments showed in MyAds & MyComments compos; modify styles confirm to appear in screen center; modify the result of ad creation to return the created ad; b00tc4mp#165
    Eduardolans committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    ff59370 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    27765aa View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    a1ad21e View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Configuration menu
    Copy the full SHA
    fec0d82 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3880be6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8ecfd26 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b256531 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    71cd2ac View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    fa1ba5c View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Update README.md

    Eduardolans authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    36130d8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2312c82 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5619458 View commit details
    Browse the repository at this point in the history
  4. Update README -1.md

    Eduardolans authored Oct 3, 2024
    Configuration menu
    Copy the full SHA
    957e3db View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4bf4fff View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Configuration menu
    Copy the full SHA
    0e64661 View commit details
    Browse the repository at this point in the history