2.1 KiB
2.1 KiB
RANO
Reliable And Nonstop Operations
Prerequisites
- deno to manage node modules
- go-task to run tasks
go install github.com/go-task/task/v3/cmd/task@latest
- golang-migrate for manual migrations. To install follow instructions
Use RANO as your new project template
to use "rano" as your new project template first install gonew
go install golang.org/x/tools/cmd/gonew@latest
now run gonew in your new project’s parent directory with two arguments: first, the path to the template you wish to copy, and second, the module name of the project you are creating.
For example:
gonew gitserver.in/patialtech/rano example.com/mynewapp
cd ./mynewapp
Project Structure
cmd
dir contains quick commands or scripts we need in appconfig
app configurations depends .env.<environment> file
for development we have .env.development filedb
databse schema and migrationsgraph
is gqlgen graph servermailer
to send emails and contains mail message templatespkg
folder is home for most of the business logic for your go apputil
shared utilitiesweb
single page web app built using SvelteKitassets
keep images and icons used in app initlib
client libpublic
files of frontend approutes
svelte app pages