- Description
- Project Configuration
- Initialize the Postman
- Test
- Project Structure
- Technologies
- Authors
- Contributions
We have developed the application to manage films data, to allow the users to record the information of the poster´s movies.
- Clone the Repository:
bash
- Copy code in your terminal:
git clone https://github.com/leiteway/Hollywow-API.git
- Copy code in your terminal:
cd Hollywow-API
To enter the repository folder.
- Create the file .env
- Create the file .env located in the folder "Hollywow-API"
- Copy the information placed on ´.env_example´ and fill it with your personal data
- Install Dependencies:
bash
- Copy code:
npm install
- Copy code to make the server run:
npm run dev
This will start the server http://localhost:5000 using the database on MySQL Workbench.
http://localhost:5000/api
Route to do the method GET from the CRUD of our project, including our URL and an example of the response.
http://localhost:5000/api/
Route to do the method DELETE from the CRUD of our project, including our URL and an example of the response.
http://localhost:5000/api/4
Route to do the method PUT from the CRUD of our project, including our URL and an example of the response.
http://localhost:5000/api
Route to do the method POST from the CRUD of our project, including our URL and an example of the response.
http://localhost:5000/api/
Route to do the method GET BY ID from the CRUD of our project, including our URL and an example of the response.
- Copy code:
npm run test
This will run the tests.
- controllers: to handle HTTP requests.
- database: configuration of connections with the database.
- helpers: contains the import and export validations from express-validator.
- models: the model of database.
- node_modules: contains all the dependencies of your project. When you install packages using npm, they are stored here.
- routes: route definitions for the methods of the API.
- test: unit and integration tests in one file.
- validators: contains the validations of the methods of the CRUD.
- .env: is a configuration file commonly used to store environment variables.
- .gitignore: specifies files and folders ignored by Git to prevent irrelevant or automatically generated files from being tracked.
- app.js: entry point of the application.
- config.js: application configuration, such as database and server configuration.
- package.json and package-lock.json: these files contain metadata about your project and its dependencies. They also include scripts for running various tasks like starting the development server or building the production bundle.
- README.md: this file typically contains instructions on how to set up and run your project, as well as any other relevant information for contributors or users.
- Scrum Master: Desirée Carrizosa
- Product Owner: Fatima Capilla
- Web Developer: J.Leite
- Web Developer: Nhoeli Salazar
Contributions are welcome! If you find any problems or have suggestions for improvement, please create an issue or make a pull request.