Technologies | Project | Getting started | How to contribute | License
This project was developed with the following technologies:
Extras:
- Main Libs
- Deploy
Project using Kubernetes that presents a simple API in Node.js with Postgres to insert, search, update and delete heroes.
These instructions will get you a copy of the full project up and running on your local machine for development and testing purposes.
The project is developed using Git. Git is a free and open source distributed version control system. Download Git.
You can obtain the project by running the instruction bellow on your terminal:
git clone https://github.com/diegomais/heroes.git
The project can be built with npm or Yarn, so choose one of the approach bellow in case you don't have any installed on your system.
- npm is distributed with Node.js which means that when you download Node.js, you automatically get npm installed on your computer. Download Node.js.
- Yarn is a package manager built by Facebook Team and seems to be faster than npm in general. Download Yarn.
Run the instructions bellow inside heroes
directory:
npm install
npm start
or
yarn install
yarn start
- Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run on the cloud or on-premises. Download Docker Desktop.
- Docker Compose is a tool for defining and running multi-container Docker applications. Download Docker Compose.
Run the instructions bellow inside heroes
directory:
docker-compose up
- Docker is an open-source project for automating the deployment of applications as portable, self-sufficient containers that can run on the cloud or on-premises. Download Docker Desktop.
- minikube quickly sets up a local Kubernetes cluster on macOS, Linux, and Windows. Install minikuke.
From a terminal with administrator access (but not logged in as root), run:
minikube start
Run the instructions bellow inside heroes
directory:
kubectl apply -f k8s/.
Swagger documentation available at http://localhost:3333/documentation.
- Fork this repository;
- Create a branch with your feature:
git checkout -b my-feature
; - Commit your changes:
git commit -m '[feat](scope) My new feature'
; - Push to your branch:
git push origin my-feature
.
After the merge of your pull request is done, you can delete your branch.
This project is under the MIT license. See the LICENSE for more details.
Made with ❤️ by Diego Mais 👋.