A template for quickly bootstrapping new Rails APIs. This is strictly based on my own preferences, what I like to start with and how I like to have certain things structured.
This template comes pre-loaded with the following gems:
- Rails (v7.1.4)
- PostgreSQL (v1.1)
- Puma (v5.0+)
- JSONAPI-Serializer
- image_processing (v1.2)
- Rack-CORS
- Devise
- Devise-JWT
- Standard
- Dotenv-Rails
- Letter Opener (dev)
- Annotate (dev)
To use this template, follow these steps:
- Clone the repository:
git clone https://github.com/basilmeer/rails-launchpad.git
- Change into the project directory:
cd rails-launchpad
- Install dependencies:
bundle install
- Set up your database:
rails db:create db:migrate
- Start the server:
rails server
And you should be good to go.
Feel free to customize this template to fit your specific needs. It is tailored to my own preferences but you can add or remove gems, adjust configuration settings, and modify the codebase as necessary.
If you find any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request. Contributions are always welcome.