mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-09-11 15:26:19 +03:00
Again migrated thoughts to 0.12. (#1789)
* Again migrated thoughts to 0.12. * fix
This commit is contained in:
parent
f23edd3ba1
commit
dbe8266bb6
@ -5,8 +5,7 @@ Thoughts
|
||||
|
||||
Run `wasp start` to start the app in development mode.
|
||||
|
||||
This app is deployed at https://wasp-thoughts.netlify.app/ : client at Netlify, server and db at Heroku.
|
||||
It is also deployed at https://wasp-thoughts-client.fly.dev/ : client, server and db on Fly.io .
|
||||
This app is deployed at https://wasp-thoughts-client.fly.dev/ : client, server and db on Fly.io .
|
||||
|
||||
## TODO
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
# fly.toml app configuration file generated for wasp-thoughts-client on 2023-10-13T13:45:18+02:00
|
||||
# fly.toml app configuration file generated for wasp-thoughts-client on 2024-02-21T12:54:04+01:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = "wasp-thoughts-client"
|
||||
primary_region = "mia"
|
||||
app = 'wasp-thoughts-client'
|
||||
primary_region = 'mia'
|
||||
|
||||
[build]
|
||||
|
||||
@ -14,4 +14,9 @@ primary_region = "mia"
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ["app"]
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
memory = '1gb'
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
||||
|
@ -1,10 +1,10 @@
|
||||
# fly.toml app configuration file generated for wasp-thoughts-server on 2023-10-13T13:45:12+02:00
|
||||
# fly.toml app configuration file generated for wasp-thoughts-server on 2024-02-21T12:53:55+01:00
|
||||
#
|
||||
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
|
||||
#
|
||||
|
||||
app = "wasp-thoughts-server"
|
||||
primary_region = "mia"
|
||||
app = 'wasp-thoughts-server'
|
||||
primary_region = 'mia'
|
||||
|
||||
[build]
|
||||
|
||||
@ -13,5 +13,10 @@ primary_region = "mia"
|
||||
force_https = true
|
||||
auto_stop_machines = true
|
||||
auto_start_machines = true
|
||||
min_machines_running = 0
|
||||
processes = ["app"]
|
||||
min_machines_running = 1
|
||||
processes = ['app']
|
||||
|
||||
[[vm]]
|
||||
memory = '1gb'
|
||||
cpu_kind = 'shared'
|
||||
cpus = 1
|
||||
|
@ -5,7 +5,9 @@ app Thoughts {
|
||||
title: "Thoughts",
|
||||
db: {
|
||||
system: PostgreSQL,
|
||||
seeds: [ import { devSeedBasic } from "@src/server/seeds.js" ]
|
||||
seeds: [
|
||||
import { devSeedBasic } from "@src/server/seeds.js"
|
||||
]
|
||||
},
|
||||
auth: {
|
||||
userEntity: User,
|
||||
|
5991
examples/thoughts/package-lock.json
generated
5991
examples/thoughts/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,10 +1,10 @@
|
||||
{
|
||||
"name": "thoughts",
|
||||
"dependencies": {
|
||||
"react-markdown": "6.0.1",
|
||||
"color-hash": "2.0.1",
|
||||
"wasp": "file:.wasp/out/sdk/wasp",
|
||||
"react": "^18.2.0",
|
||||
"react-markdown": "^6.0.1",
|
||||
"color-hash": "^2.0.1"
|
||||
"react": "^18.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"typescript": "^5.1.0",
|
||||
|
@ -1,6 +1,9 @@
|
||||
import React from "react";
|
||||
import { getUsername } from "wasp/auth";
|
||||
|
||||
import { logout } from "wasp/client/auth";
|
||||
|
||||
import React from "react";
|
||||
|
||||
import "./TopNavbar.css";
|
||||
|
||||
const TopNavbar = ({ user }) => {
|
||||
|
Loading…
Reference in New Issue
Block a user