r3nanp / my-blog-api

An GraphQL API made with Strapi to spread my word to the world.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

My Blog API

An GraphQL API made with Strapi to spread my word to the world.

r3nanp prs

πŸ›  Technologies used

  • Node.js
  • Strapi CMS
  • GraphQL
  • PostgreSQL

πŸ‘·β€β™‚οΈ Installation

You need to install Node.js and Yarn first, then in order to clone the project via HTTPS, run this command:

git clone https://github.com/r3nanp/my-blog.git

SSH URLs provide access to a Git repository via SSH, a secure protocol. If you use a SSH key registered in your Github account, clone the project using this command:

git clone git@github.com:r3nanp/my-blog.git

Install dependencies

yarn install

Or

npm install

Create your enviroment variables based on the examples of .env.example

cp .env.example .env

After copying the examples, make sure to fill the variables with new values.

Setup a database

Install Postgres to create a database or if you have Docker in your machine, fill the environment values related to database configurations and then run the following commands in order to create a Postgres container.

docker-compose up -d

πŸƒ Getting Started

Run the following command in order to start the application in a development environment:

yarn develop

πŸ“• License

Released in 2021. This project is under the MIT license.

Made with love by Renan Pereira πŸ’œπŸš€

About

An GraphQL API made with Strapi to spread my word to the world.

License:MIT License


Languages

Language:JavaScript 98.6%Language:Shell 1.4%