VFMCS / web-app

This is the repository for webapp
MIT License
1 stars 2 forks source link

Endpoint framework setup #16

Closed lucamne closed 1 year ago

lucamne commented 1 year ago

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

lucamne commented 1 year ago

"Featured farmers" and "featured products" display is functional again