/RagnarokAPI

API em .net core que manipula alguns dados do jogo Ragnarök Online que estão hospedados em MongoDB.

Primary LanguageC#

Ragnarök Online API

RagnarokAPI

Ragnarok API is a RESTful API of the Ragnarök Online developed with .NET Core + Docker + MongoDB 🚀

► Table of Contents

About

In construction

Setup

Dependencies

Steps

  • Just open the file RagnarokAPI.sln with Visual Studio
  • Run the project
  • If you wanna use the mongodb in localhost go to file appsettings.json and change the connection string to:
ConnectionString: "mongodb://localhost:27017"
  • To launcher the local server go to mongodb/bin folder and run the command: mongod

Setup using Docker

If you do wanna use the Docker follow this steps:

Dependencies

Steps

  • To build and run an image of the project in Docker, run this commands:
  1. To build a image, use this command in the root folder: docker build --rm -f "Dockerfile" -t "RagApi:latest" .
  2. To run the image in local: docker run -it --rm -p 5000:80 --name ragapi RagApi
  • Visit localhost:5000/Inicio to see the running api status!

Credits

  • Data mining from RagnaPlace, a Ragnarök Online database site.

  • Ragnarök API site and documentation inspired in bibleAPI. 💗

  • Renderjson plugin in javascript to render a html viewer from JSON.