Endpoints created for user access and creation, farmer access, and product access (almost). This branch was recently merged with customer-landing-page-products. The frontend does need to be reconnected the endpoints as they have changed and are not necessarily providing the same data.
Current Routes:
localhost:3001/api/users - GET all users / POST new user
localhost:3001/api/users/:user_id - GET user from ID / DELETE user from ID
localhost:3001/api/farmers - GET all farmers
localhost:3001/api/products - no function yet
Endpoints created for user access and creation, farmer access, and product access (almost). This branch was recently merged with customer-landing-page-products. The frontend does need to be reconnected the endpoints as they have changed and are not necessarily providing the same data.
Current Routes: localhost:3001/api/users - GET all users / POST new user localhost:3001/api/users/:user_id - GET user from ID / DELETE user from ID localhost:3001/api/farmers - GET all farmers localhost:3001/api/products - no function yet