Coder Social home page Coder Social logo

shimada-toy-box / kardies Goto Github PK

View Code? Open in Web Editor NEW

This project forked from alexavlonitis/kardies

0.0 0.0 0.0 2.65 MB

Opensource Dating Website - backend API

Home Page: https://kardies.gr

License: GNU Affero General Public License v3.0

Ruby 87.34% HTML 12.35% Dockerfile 0.13% Shell 0.18%

kardies's Introduction

Kardies logo

Build Status

An opensource Greek dating website, backend API. Kardies.gr

How to run locally

  • bundle install
  • Copy .env.example file and paste to .env (Change where necessary)
  • bundle exec rake db:setup
  • bundle exec puma
  • To run tests: bundle exec rspec
  • server running on: localhost:3000

With docker

Requirements: Docker && docker-compose

  • Copy .env.example file and paste to .env (Enough for tests to run)
  • Run the services: docker-compose up
  • Build/seed the DB (only once): docker-compose run --rm api rails db:setup
  • Run the tests: docker-compose run --rm api rspec
  • server running on: localhost:3000

LOGIN

  • curl login request example:
curl --request POST \
  --url http://localhost:3000/oauth/token \
  --header 'content-type: application/json' \
  --data '{
	"email": "[email protected]",
	"password": "password",
	"grant_type": "password"
}'

Dependencies/Requirements for manual installation

  • Ruby 2.6.3
  • Redis (Not required for the dev environment)
  • Elastic Search 6.8.2
  • Imagemagick
  • MySQL
  • AWS S3 bucket

Contributing

All Pull Requests are welcome, from a simple typo to a new feature.

  • Fork this repo
  • Run the tests
  • Create a new branch, add your changes with tests when necessary
  • Submit a Pull Request

License

GNU AFFERO GENERAL PUBLIC LICENSE

kardies's People

Contributors

alexavlonitis avatar sathia27 avatar smowafy avatar ngsikai avatar leandroalemao 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.