fruit-jokes-inertia
Fruit Jokes
A demo web application built with Crystal and Inertia.js for managing comedians and their fruit-themed jokes.
Requirements
- Docker
- Docker Compose
- Make
Getting Started
Build the project
Initialize the project by building the container and installing dependencies:
make setup
Start the application
Start the dev services by running:
make dev
After a few seconds of the compilation of the Crystal application, it should be available at http://localhost:8080
Seed the database
Database is automatically created and migrated on startup of the application, but it will be empty. You can seed the database with some sample data by running the seeder in a new terminal:
make console
Then, populate the database:
shards run seed
Play around
Now that you have some sample data, click around to explore the functionality.
Available commands
The following commands are available using the make
:
make setup
- Initialize the project (build container and install dependencies)make dev
- Run the application servicesmake console
- Start an interactive console sessionmake restart
- Restart the containersmake stop
- Stop running containersmake help
- Show available tasks and usage examples
License
Licensed under the Apache License, Version 2.0. You may obtain a copy of the license here.
fruit-jokes-inertia
- 0
- 0
- 0
- 0
- 5
- 3 days ago
- May 31, 2025
Apache License 2.0
Tue, 03 Jun 2025 17:37:51 GMT