othiagocorreia / blog-engine

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BLOG ENGINE ⚙️

An API built with NodeJS and Sequelize to serve as a blog engine where people can register users and make posts

About

🎯 Objective

This project was made for me to learn about how Sequelize and NodeJS can work together and can apply the MVC architecture in my first API project. The API must be able to add users and let them make posts

📦 Packages

To run this project, you will need the following packages:

  • In your terminal run

    • Express

      npm install express

    • Nodemon

      npm install nodemon

    • Sequelize

      npm isntall sequelize

    • Sequelize-cli

      npm install sequelize-cli

    • MySQL 2

      npm install mysql2

🔨 How to Use

  1. Make a clone of this project with git clone

  2. Enter the blog-engine folder

  3. Install all the dependencies

  4. Modify the credencials of the database file in the config folder

  5. Run npx sequelize db: create to create the database

  6. Run npx sequelize db:migrate to make the migrations

  7. Run npx sequelize db:seed:all to populate the database

👾 Technologies

🔒 Status

🥂 Finished 🥂

About


Languages

Language:JavaScript 100.0%