https://github.com/zastinian/astro-login
A website with a simple design, with an example of how to make a login website with Astro.
https://github.com/zastinian/astro-login
astro astro-api astro-login astrojs company css dark dark-theme express form hedystia login login-page login-system nodejs style
Last synced: 10 months ago
JSON representation
A website with a simple design, with an example of how to make a login website with Astro.
- Host: GitHub
- URL: https://github.com/zastinian/astro-login
- Owner: Zastinian
- Created: 2023-03-31T18:21:13.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2025-03-13T23:38:55.000Z (10 months ago)
- Last Synced: 2025-03-14T00:30:55.653Z (10 months ago)
- Topics: astro, astro-api, astro-login, astrojs, company, css, dark, dark-theme, express, form, hedystia, login, login-page, login-system, nodejs, style
- Language: TypeScript
- Homepage: https://astro-login.hedystia.com
- Size: 79.1 KB
- Stars: 22
- Watchers: 2
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- Contributing: .github/CONTRIBUTING.md
Awesome Lists containing this project
README
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
A login for the Astro framework
An easy to edit login to guide you in your next Astro project.
Explore »
Demo Website
.
Report Bug
·
Contributing
## Links
> - [Website](https://hedystia.com/) (Discord Bot) - Use Astro
> - [Demo Website](https://astro-login.hedystia.com)
> - [Discord](https://hedystia.com/support) (Discord Support)
> - [Portfolio](https://zastinian.com/)
## How to edit
| Name | File |
| -------------------------------------- | ----------------------------------- |
| `Change dbLogin like database or user` | [routes.ts](/src/utils/routes.ts) |
| `Change profile data` | [profile.ts](/src/utils/profile.ts) |
| `Example of Environment Variables` | [.env.example](/.env.example) |
## Environment Variables
| Variable | Default Value |
| --------------- | ------------------ |
| `MAX_AGE` | 604800 (7 days) |
| `COOKIE_NAME` | `_Security_Login_` |
| `COOKIE_SECRET` | secret |
| `COOKIE_SECURE` | false |
| `PORT` | 4321 |
| `HOST` | localhost |
## Preview

## Contributors
## Issues
See the [open issues](https://github.com/Zastinian/Astro-Login/issues) for a full list of proposed features (and known issues).
[contributors-shield]: https://img.shields.io/github/contributors/Zastinian/Astro-Login.svg?style=for-the-badge
[contributors-url]: https://github.com/Zastinian/Astro-Login/graphs/contributors
[forks-shield]: https://img.shields.io/github/forks/Zastinian/Astro-Login.svg?style=for-the-badge
[forks-url]: https://github.com/Zastinian/Astro-Login/network/members
[stars-shield]: https://img.shields.io/github/stars/Zastinian/Astro-Login.svg?style=for-the-badge
[stars-url]: https://github.com/Zastinian/Astro-Login/stargazers
[issues-shield]: https://img.shields.io/github/issues/Zastinian/Astro-Login.svg?style=for-the-badge
[issues-url]: https://github.com/Zastinian/Astro-Login/issues
