broken_crystals

Version, currently master branch1 version
  • master branchlatestJun 17, 2020

github.com/NeuraLegion/broken_crystals_kemal

Temporary backup of Broken Crystals written in Kemal

1 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  broken_crystals:
    github: NeuraLegion/broken_crystals_kemal
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
0.34.0
License
MIT
Authors
Bar Hofesh, Mirsad Halilcevic, Amar Zlojic, Faris Seferagic, Dzevad Alibegovic
Targets
  • cli from src/cli.cr
  • seed from db/seed.cr
  • micrate from db/micrate.cr
  • broken_crystals from src/broken_crystals.cr

Dependencies

Runtime Dependencies

  • pg~> 0.21.0github: will/crystal-pg
  • kemal~> 0.26.1github: kemalcr/kemal
  • crecto~> 0.11.3github: Crecto/crecto
  • dotenv~> 0.3.0github: drum445/dotenv
  • micrate~> 0.7.0github: amberframework/micrate
  • kemal-session~> 0.13.0github: neuralegion/kemal-session

Development Dependencies

  • clim~> 0.11.0github: at-grandpa/climdev
  • ameba~> 0.12.1github: crystal-ameba/amebadev

README

broken_crystals

This project is a fun off-time task to create a vulnerable web app in Crystal.

Installation

The project is available via dockerhub as the easiest option

docker pull neuralegion/broken_crystals

Usage

To run the project use

docker run -it neuralegion/broken_crystals -p 3000:3000

and browse http://localhost:3000/

If you are running without docker copy .env.example as .env with your settings to the root directory and run following commands:

# build app
shards build

# database migrations
bin/micrate up

# seed database
bin/seed

# run app
bin/broken_crystals

# try cli
bin/cli --help

Development

Development goals and issues will be tracked in the issues section

Contributing

  1. Fork it (https://github.com/NeuraLegion/broken_crystals/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors