- vue3 + vite https://v3.ja.vuejs.org/
- scss https://sass-lang.com/
- typescript https://www.typescriptlang.org/
- rust https://www.rust-lang.org/
- actix https://actix.rs/
- graphql https://graphql.org/
- DAL http://diesel.rs/
reverse proxy https://www.nginx.com/cache / limit redis https://redis.io/
- docker-compose https://www.docker.com/
docker-compose up
sudo vim /etc/hosts
add these two lines:
+++ 127.0.0.1 nonstyle.net
+++ 127.0.0.1 api.nonstyle.net
view nonstyle.net in browser
port | server |
---|---|
:80 | nginx proxy |
:4000 | rust api |
:3000 | vue frontend |
:5432 | postgresql |
:6379 | redis |
docker-compose run --rm --user $(id -u) backend sh
inside container:
diesel setup
diesel migration run
to redo migration:
diesel migration redo
path | |
---|---|
/graphiql | graphiql inspector |
/graphql | graphql endpoint |
using cloud storage
+ cloud run
+ cloud sql
install Google Cloud SDK
curl https://sdk.cloud.google.com | bash
gcloud config set project tsukiyo
gcloud config set run/region asia-northeast1