1.2.1 • Published 12 months ago

pocketnaut v1.2.1

Weekly downloads
-
License
-
Repository
github
Last release
12 months ago

PocketNaut by Nnisarg Gada

PocketNaut Banner

šŸ§‘ā€šŸš€ A minimal Astro, PocketBase, and TailwindCSS starter that uses TypeScript and has sane defaults

šŸš€ Getting Started

Simply run npx pocketnaut in your terminal and start coding!

šŸ“– Documentation

ā€¼ļø Important: Ensure pocketbase is installed and move it to the backend folder

šŸš€ Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
ā”œā”€ā”€ backend/
ā”œā”€ā”€ public/
ā”œā”€ā”€ src/
│   └── layouts/
│       └── Base.astro
│   └── components/
│   └── pages/
│       └── index.astro
│   └── styles/
│       └── global.css
│   └── utils/
│       └── pocketbase.ts
│   └── icons/
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

There's nothing special about src/components/, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.

Any static assets, like images, can be placed in the public/ directory.

šŸ§ž Commands

All commands are run from the root of the project, from a terminal:

CommandAction
npm installInstalls dependencies
npm run devStarts local dev server at localhost:4321 and pocketbase server at localhost:8090
npm run buildBuild your production site to ./dist/
npm run previewPreview your build locally, before deploying
npm run astro ...Run CLI commands like astro add, astro check
npm run astro -- --helpGet help using the Astro CLI

šŸ‘€ Want to reach out?

1.2.0

1 year ago

1.2.1

12 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago