Giter Club home page Giter Club logo

kardies's Introduction

Kardies logo

ci

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 dependabot[bot] avatar leandroalemao avatar ngsikai avatar sathia27 avatar smowafy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

kardies's Issues

fix failing tests/build

There were some recent code changes but rspec tests haven't been updated.
We need to fix and/or add specs where necessary to pass the build

Search upgrade

Make it POST request instead of GET and save search results and maybe display only saved search results on index

fix locales

when greek not to be /gr but in english to be /en

Search

Don't display deleted users on search results

Messaging fix

Don;t allow to create a new conversation if one already exists

key not found: "S3_BUCKET_NAME"

I'm new to Ruby and BE dev, can you clarify in more details how to run locally this site?

I found error
/Users/dmozmanyan/Downloads/kardies-master/config/environments/development.rb:6:in `fetch': key not found: "S3_BUCKET_NAME" (KeyError)
While installing command 'bundle exec puma'
Can you help me to understand what is the issue?

edit user settings

Don't allow users to change email and username. Only through admin request

integrate emails

Add email notification on new conversation and or new message,

Like once

A user can only send one heart, to avoid repetition

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.