Skip to content

Renan-Storrer/22-Blogs-API

Repository files navigation

Trybe Project - Blogs API

💻 Project

This RESTful API for blog management was built with Node.js and Sequelize to provide efficient and scalable blog management functionalities.

🚀 Built With

Node.jssequelize

📌 Skills

  • Develop a RESTful API from a CRUD (Create, Read, Update and Delete);
  • Use Sequelize ORM to read and write to a MySQL/PostgreSQL database.

Getting Started

⬇️ Dependencies

npm install

⚡ Running the Aplication

Initially, you need to configure a MySQL database:

  • Defining environment variables in an .env file;
  • Creating the database and tables with:
npx sequelize db:create
npx sequelize db:migrate

If desired, populating the tables with initial data with:

npx sequelize db:seed:all

The application can be started with:

npm start

🧪 Testing the Aplication

npm test

💬 Contact Me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •