REST API and MVC Starter Kit written in Crystal language. This is a project written using Amber. Enjoy!
These instructions will get a copy of this project running on your machine for development and testing purposes.
To start your Amber server:
- Install dependencies with
- Build executables with
- Create and migrate your database with
bin/amber db create migrate. Also see creating the database.
- Start Amber server with
Now you can visit http://localhost:3000/ from your browser.
Using Docker? Please check Amber Docker guides.
To run the test suite:
- Build project with
crystal build src/cry_rest.cr -o bin/cry_rest.
Please see deployment for notes on deploying the project in production.