This project is a an example of Amber web framework for a Web API.
The database engine used by the project is SQLite.
First, follow Amber instructions to install the Amber CLI.
To create and migrate the database:
- Initialize database with
amber db create
- Migrate database with
amber db migrate
To start the Amber server:
- Install dependencies with
shards install
- Build executables with
shards build
- Start Amber server with
bin/amber_webapi
Now you can visit http://localhost:3000/api from your browser.