Skip to content

This is a project for a Blog API built with Node.js and Sequelize. The project is as an example a RESTful API.

Notifications You must be signed in to change notification settings

BrunoSouza88/Sequelize-NodeJs_Blogs-Api_Trybe

Repository files navigation

Blogs-Api 📝

This is a project for a Blog API built with Node.js and Sequelize. The project serves as an example of building a RESTful API for a blogging platform.

Technologies Used 🛠️

The project utilizes the following technologies:

  • Node.js ⚙️
  • Express.js 🚀
  • Sequelize 🗄️
  • MySQL 🐬
  • JSON Web Tokens (JWT) 🔒

Prerequisites

Before you begin, ensure that you meet the following requirements:

  • Have Node.js and MySQL installed.

Installation

Follow these steps to set up and run the project locally:

  1. Clone the repository:
  2. git clone https://github.com/BrunoSouza88/Sequelize-NodeJs_Blogs-Api_Trybe.git
  3. Navigate to the project directory:
  4. cd Sequelize-NodeJs_Blogs-Api_Trybe
  5. Install the dependencies:
  6. npm install
  7. Set up the database:
  8. Create a MySQL database and update the configuration in the config/database.js file.

  9. Start the application:
  10. npm start

Usage 🚀

The API allows users to perform CRUD operations on blog posts and comments. Users can create new blog posts, retrieve existing posts, update post information, and delete posts. Users can also add comments to blog posts and manage comments by updating or deleting them. 💻

Contributing 🤝

Contributions are what make the open-source community a fantastic place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the project.
  2. Create a branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some amazing feature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a Pull Request.

License 📜

This project is licensed under the MIT License.

Contact 📧

Bruno Souza - bmsouza88@gmail.com ✉️

Project Link: https://github.com/BrunoSouza88/Sequelize-NodeJs_Blogs-Api_Trybe 🌐

About

This is a project for a Blog API built with Node.js and Sequelize. The project is as an example a RESTful API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •