https://github.com/olgam4/todo-astro
AstroJS website using TailwindCSS and SolidJS
https://github.com/olgam4/todo-astro
Last synced: about 2 months ago
JSON representation
AstroJS website using TailwindCSS and SolidJS
- Host: GitHub
- URL: https://github.com/olgam4/todo-astro
- Owner: olgam4
- License: wtfpl
- Created: 2022-05-24T15:48:59.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-10T19:41:04.000Z (almost 3 years ago)
- Last Synced: 2025-02-05T01:43:38.816Z (3 months ago)
- Language: TypeScript
- Homepage: https://todo.glo.quebec
- Size: 185 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to Todo
## 🚀 Project Structure
Inside of your Astro project, you'll see the following folders and files:
```
/
├── front/ # This is an Astro App
│ ├── public/
│ ├── src/
│ │ ├── assets/
│ │ ├── components/
│ │ ├── layouts/
│ │ ├── lib/
│ │ └── pages/
│ └── package.json
└── back/
```Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
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:
### `front/`
| Command | Action |
| :----------------- | :------------------------------------------- |
| `pnpm install` | Installs dependencies |
| `pnpm dev` | Starts local dev server at `localhost:3000` |
| `pnpm build` | Build your production site to `./dist/` |
| `pnpm preview` | Preview your build locally, before deploying |
| `pnpm connect` | Connect to planet scale on port 3009 |### `back/`
| Command | Action |
| :----------------- | :------------------------------------------- |
| `./dev.sh` | Run the dev server in watch mode |