bucky 8b2780820c update for features
+ added flash/message assertions
+ adjusted urls to be http://google.com for tests for now
+ added @db-test tags to tests that use db interactions
+ added a scenario for duplicate URLs being used
+ added before and after steps to init and clean up db tests
+ added initialization of a test db for tests instead of interacting
  with the production database
2023-10-03 15:58:56 -07:00
2023-10-03 15:58:56 -07:00
2023-10-03 15:55:37 -07:00
2023-10-03 15:56:42 -07:00
2023-10-03 15:55:59 -07:00

simple url shortener

this project is a simple solution to build out a URL shortener using Roda, Falcon, Sequel, and SQLite

the point of this project is to quickly build something and work on continuous deployment while making small refinements to the functional pieces.

first you have to install the dependencies:

bundle install

if you want the development group included run this first:

`bundle config set --local with 'development'

then create a .env.rb file in the root directory that contains the following ENV attributes: APP_SESSION_SECRET DB_NAME

after the dependencies are installed, you have to create the db

sequel -m db/migrations sqlite://db/{DB_NAME}

to start the application with Falcon:

rackup -o {ip address} -p {port} -s falcon

S
Description
No description provided
Readme 360 KiB
2023-10-15 Latest
2023-10-15 12:03:17 -07:00
Languages
Ruby 60.3%
HTML 21.8%
Gherkin 17.9%