Code Monkey home page Code Monkey logo

cosplay-filter's Introduction

Cosplay Filter

Screenshot

About The Project

This project is a website to filter anime/video/tv characters based on some character-specific tags and properties.

Technologies

  • TypeScript
  • Node.js
  • Express.js
  • MySQL
  • Bulma.css

This project relies heavily on Full-text-search to return ranked queries.

Installation

  1. Setup the project

    git clone https://github.com/lepasq/cosplay-filter.git
    cd cosplay-filter
    npm install
    tsc public/js/script.ts
  2. Next you need to set up your MySQL server, fill in your environment variables and run schema.sql. As an example, you should have a look at .env:

    #.env
    DB_PORT=3306
    PORT=4000
    USR=root
    HOST=localhost
    DATABASE=Cosplay
    PASSWORD=12345678
    CONNECTION_LIMIT=20
  3. Next you need to change the path of your .csv files in the file src/models/schema.sql to your local path.

  4. Finally, start the server

    npm start

Usage

Example: human strong genre=amine will query all anime characters with the tags human and strong will query all anime characters with the tags human and strong.

It is also possible to use MySQL query specific operators, like + to indicate that a word must be present in each row, or - to indicate that a word must not be present in a row.

cosplay-filter's People

Contributors

lepasq avatar

Stargazers

 avatar

Watchers

 avatar  avatar

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.