Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codingitwrong/todo_app_sinatra


https://github.com/codingitwrong/todo_app_sinatra

Last synced: 2 days ago
JSON representation

Awesome Lists containing this project

README

        

# todo_app_sinatra

A REST backend for a todo app, implemented in Sinatra.rb

## Requirements

1. Ruby 3.1.2
1. PostgreSQL (e.g. [Postgres.app][postgres-app])

## Installation

Change Db connection config in `config/sequel.rb` if necessary.

```sh
$ bin/setup
```

## Running

```bash
$ bin/serve
```

## Testing

```sh
$ bin/rspec
```

## Releases

Runs on Heroku.

- Push or merge to `main`; it will be automatically deployed
- Run database migrations with `heroku run bin/migrate-prod`

## License

MIT