Restaurant API
-
SERVER_HOSTNAME = "localhost" SERVER_PORT=8080 DB_CONN_STRING= DB_NAME= MONGO_USERNAME = MONGO_PASSWORD = MONGO_URL =
-
- follow the link to create an online mongo db
- In figure 1, local development and port 8080 are selected and we choose to make the baseURL = /api/rest or /api/user from the dropdown meanu ( where the arrow points )
- Some of the restaurant endpoints are shown
- Some of the user endpoints are shown
- Excuted /api/rest/get/all request to fetch all restaurants in database
- Excuted /api/user/get/all request to fetch all users in database