Coder Social home page Coder Social logo

caiomarruda / redisearchcore Goto Github PK

View Code? Open in Web Editor NEW
25.0 3.0 11.0 67 KB

Some examples using RediSearch module and .Net Core

License: MIT License

C# 98.35% Dockerfile 1.65%
redis redisearch csharp netcore nredisearch stackexchange search search-engine

redisearchcore's Introduction

RediSearchCore

Build Status GitHub Actions status

RediSearchCore is a .Net Core project for easly integration with RediSearch.

Installation

Firstly, Redis and RediSearch need to be installed.

You can download Redis from https://redis.io/download, and check out installation instructions here. Alternatively, on macOS or Linux you can install via Homebrew.

To install RediSearch check out, https://oss.redislabs.com/redisearch/Quick_Start.html. Once you have RediSearch built, if you are not using Docker, you can update your redis.conf file to always load the RediSearch module with loadmodule /path/to/redisearch.so. (On macOS the redis.conf file can be found at /usr/local/etc/redis.conf)

docker run -p 6379:6379 redislabs/redisearch:latest

After Redis and RediSearch are up and running, you can choose your best option to run this project:

Via Docker (recomended)

You can pull direcly from Docker Hub (https://hub.docker.com/r/caioarruda/redisearchcore)

docker run -e redisConnection="redisearch server" -p 80:80 caioarruda/redisearchcore:latest

How to build

You need to install .Net Core 3.1 SDK:

https://dotnet.microsoft.com/download/dotnet-core

And then, run this command in RediSearchCore sub-folder:

dotnet restore
dotnet publish -c Release

To build this project in docker, run this command in solution folder:

docker build -t caiomarruda/redisearchcore:latest .

Usage

Use the ports 80 or 443(SSL) to run this project. All API documentation are available in Swagger UI.

You can also run this project using Play With Docker for free.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Open Source Projects in Use

StackExchange.Redis by Marc Gravell

NRediSearch by Marc Gravell

Newtonsoft.Json by James Newton-King

Swashbuckle (Swagger) by SmartBear Software

License

MIT

redisearchcore's People

Contributors

caiomarruda avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redisearchcore's Issues

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.