Skip to content

create a restme crud example without current_user#1

Open
everson-ever wants to merge 1 commit intomainfrom
restme-crud-example-without-current-user
Open

create a restme crud example without current_user#1
everson-ever wants to merge 1 commit intomainfrom
restme-crud-example-without-current-user

Conversation

@everson-ever
Copy link
Owner

No description provided.

@everson-ever
Copy link
Owner Author

This PR creates an Rails API

  • Create a products migration
  • Configure routes to products
  • Use Restme to manage products crud

You can run this example

NOTE: rename .env.example to .env

docker compose up -d

docker exec -it restme_example bash

rails db:create db:migrate

rails s -b 0.0.0.0

See Insomnia requests

Index

image

Show

image

Create

image

Update

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant