Giter Site home page Giter Site logo

jonasbraga / starwars_planets_api Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 1.0 391 KB

RESTful Star Wars planets API - Node.js | MongoDB | Docker

Home Page: https://documenter.getpostman.com/view/15371583/TzJpgz2J

Shell 0.42% JavaScript 94.69% Makefile 4.89%
docker nodejs mongodb api

starwars_planets_api's Introduction

Starwars Planets API

๐Ÿš€ Features

  • โœ… Create planets
  • ๐Ÿ“„ Show planets
  • ๐Ÿ”„ Update planets
  • โŒ Delete planets

๐Ÿ‘ท Installation

First of all you need to have docker and docker-compose installed, after that just clone this repository with the following command:

git clone https://github.com/jonasbraga/starwars_planets_api.git

In the project's root folder, execute the command make prepare to copy the file .env.example to .env and set the environment variables

P.S.: Make sure that the ports 3000 and 27017 are not being used by any other application, otherwise a conflict will happens

๐Ÿƒ Getting Started

Run the following command at the root of the project to run the containers and enable the services:

make up

In order to run the tests, execute the following command that will bring up coverage:

make tests

๐Ÿ“ API's Documentation

To view the API documentation go to: Star Wars Planets API

The postman collection is also available in its folder, so if you want to, just import that in the application and start making the requests ;)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.