This repository contains the necessary files to create the Ironhack Project 3 server. The project utilizes the following technologies:
- Node.js
- Express
- JWT (JSON Web Tokens)
- Mongoose
To use this project, follow the steps below:
-
Click the "Use this template" button to create a new repository based on this one.
-
Clone the newly created repository using the command
git clone YOUR_REPOSITORY_URL
in your terminal, whereYOUR_REPOSITORY_URL
is the link to your new repository. -
Run the
npm install
command in the project's root directory in the terminal to install the necessary dependencies. -
Create an
.env
file based on the.example.env
file present in the repository. Make sure to configure the appropriate environment variables. -
To start the server, run the
npm run dev
command in the terminal.
The server includes the following routes with complete CRUD operations:
-
User: This route allows for user management, including user creation, reading, updating, and deletion of user information.
-
Wines: Here, you can perform all CRUD operations related to wine information.
-
Wine Packages: This route handles CRUD operations for the wine packages of the project, which are collections of wines.
-
Admin Profile: The admin profile route allows complete management of administrator profiles, including the addition of wines and wine packages.
- Alexandre dos Santos Rocha
- Victor Pimenta
- Carolina Braga
You can access the live version of this project here.
This project was supervised by Karen Okasaki.