Skip to content

Firzenizer/resepti-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

resepti-api

Technologies

Prerequisites

Nice to have tools

Installation

  • Run:
    • docker compose up --build --detach # Creates Docker containers and starts them
    • cargo install cargo-watch # Installs watcher for autobuilding
    • cargo install sea-orm-cli # Installs SeaORM CLI for migrations
    • cargo install --path ./
    • sea-orm-cli migrate up # Runs migrations
    • cd api & run cargo watch -x run

Useful commands

  • Start server and watcher: cargo watch -x run
  • Generate entities from migration: sea-orm-cli generate entity -o entity/src

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published