"In Brazilian Portuguese, "goró" is a slang word used to refer to alcoholic beverages (usually vodka, whisky, beer, etc.), but can also mean specifically the "cachaça". It's gender is masculine, so if you want to say that you will have a drink, it could be said as:
Vou tomar um goró.
Or in the plural:
Vou tomar uns gorós."
Goró is a small website where you can choose a cocktail based on flavor and alcohol level. It includes an API for getting and putting drinks, with plans to add authentication and possibly implement ReactJS in the future. The website currently uses Bootstrap for styling.
- Node.js
- npm
-
Clone the repository:
git clone https://github.com/yourusername/goro.git cd goro -
Install dependencies:
npm install
-
Start the server:
node backend/server.js
-
Open your browser and navigate to
http://localhost:3000.
- URL:
/api/drinks - Method:
GET - Response: JSON array of all drinks
- URL:
/api/drinks/:id - Method:
GET - Response: JSON object of the drink with the specified ID
- URL:
/api/drinks - Method:
POST - Request Body: JSON object with
nameandingredients - Response: JSON object of the newly added drink
- URL:
/api/drinks/:id - Method:
PUT - Request Body: JSON object with
nameandingredients - Response: JSON object of the updated drink
- URL:
/api/drinks/:id - Method:
DELETE - Response: Status 204 if successful
- Add authentication to the API
- Implement ReactJS for the frontend
This project is licensed under the MIT License.