Skip to content

mochi-sann/realworld-rust-backend

 
 

Repository files navigation

RealWorld Example App

[YOUR_FRAMEWORK] codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

This codebase was created to demonstrate a fully fledged fullstack application built with [YOUR_FRAMEWORK] including CRUD operations, authentication, routing, pagination, and more.

We've gone to great lengths to adhere to the [YOUR_FRAMEWORK] community styleguides & best practices.

For more information on how to this works with other frontends/backends, head over to the RealWorld repo.

How it works

Describe the general architecture of your app here

Getting started

npm install, npm start, etc.

Error: postgres: scanning system variables: pq: SSL is not enabled on the server

atlas schema inspect -u "postgres://postgres:[email protected]:5432/app-db?sslmode=disable"


atlas schema inspect \
  --url "postgres://postgres:postgres@localhost:5432/app-db?search_path=public&sslmode=disable" \
  --format '{{ sql . }}' >  schema/schema.sql

atlas migrate diff delete_todos \
  --dir "file://migrations" \
  --to "file://schema.hcl" \
  --dev-url "postgres://postgres:postgres@localhost:5432/app-db?sslmode=disable"

atlas migrate diff add_commits \
  --to file://schema/schema.sql \
  --dir "file://migrations" \
  --format '{{ sql . "  " }}' \
  --dev-url "postgres://postgres:postgres@localhost:5432/app-db?search_path=public&sslmode=disable"


atlas migrate push app \
  --dev-url "postgres://postgres:postgres@localhost:5432/app-db?search_path=public&sslmode=disable"

atlas migrate apply --env local

About

Starter kit for new RealWorld framework implementations

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 76.4%
  • HCL 20.1%
  • Dockerfile 3.4%
  • Makefile 0.1%