Go to file
Adam Townsend fff6b0f5dd added more notes for the README 2023-10-03 15:55:59 -07:00
db/migrations got app working reasonably well, and removed db file, that shouldn't be in the db 2023-09-14 22:30:33 -07:00
features generalized fill in field with text action 2023-10-02 13:02:48 -07:00
views added more parts for the first scenario and updated code to work with the changes 2023-09-30 18:39:30 -07:00
.gitignore ignore the local env file 2023-10-03 15:55:37 -07:00
Gemfile added more startup instructions and updated gems to have a development group 2023-10-02 14:22:26 -07:00
Gemfile.lock added more startup instructions and updated gems to have a development group 2023-10-02 14:22:26 -07:00
README.md added more notes for the README 2023-10-03 15:55:59 -07:00
app.rb 2nd scenario 2023-10-01 12:10:30 -07:00
config.ru

README.md

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