mirror of
https://github.com/kennethnym/aris.git
synced 2026-03-20 00:51:20 +00:00
* feat: init waitlist website Co-authored-by: Ona <no-reply@ona.com> * feat[waitlist]: tweak copy Co-authored-by: Ona <no-reply@ona.com> * fix[waitlist]: reminify lottie json Co-authored-by: Ona <no-reply@ona.com> * feat[waitlist]: seo and preview stuff * chore[waitlist]: clean up * build[waitlist]: add fly.io config * feat(waitlist): add time-of-day greeting and duplicate email message Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): handle duplicate emails and send confirmation Co-authored-by: Ona <no-reply@ona.com> * chore: remove stray console.log Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): add privacy policy page Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): add footer with bottom progressive blur Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): add trouble message and improve error handling Co-authored-by: Ona <no-reply@ona.com> * fix(waitlist): fix timeOfDay logic, typo, and add audienceId Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): add .ico fallback favicon and style error page Co-authored-by: Ona <no-reply@ona.com> * chore(waitlist): add robots.txt, sitemap, clean dockerignore Co-authored-by: Ona <no-reply@ona.com> * feat(waitlist): add footer to privacy policy page Co-authored-by: Ona <no-reply@ona.com> * fix(waitlist): use segments instead of audienceId Co-authored-by: Ona <no-reply@ona.com> * fix[waitlist]: remove segmentId from dup check Co-authored-by: Ona <no-reply@ona.com> * fix(waitlist): reset logo animation on mouse leave Co-authored-by: Ona <no-reply@ona.com> --------- Co-authored-by: Ona <no-reply@ona.com>
88 lines
1.8 KiB
Markdown
88 lines
1.8 KiB
Markdown
# Welcome to React Router!
|
|
|
|
A modern, production-ready template for building full-stack React applications using React Router.
|
|
|
|
[](https://stackblitz.com/github/remix-run/react-router-templates/tree/main/default)
|
|
|
|
## Features
|
|
|
|
- 🚀 Server-side rendering
|
|
- ⚡️ Hot Module Replacement (HMR)
|
|
- 📦 Asset bundling and optimization
|
|
- 🔄 Data loading and mutations
|
|
- 🔒 TypeScript by default
|
|
- 🎉 TailwindCSS for styling
|
|
- 📖 [React Router docs](https://reactrouter.com/)
|
|
|
|
## Getting Started
|
|
|
|
### Installation
|
|
|
|
Install the dependencies:
|
|
|
|
```bash
|
|
npm install
|
|
```
|
|
|
|
### Development
|
|
|
|
Start the development server with HMR:
|
|
|
|
```bash
|
|
npm run dev
|
|
```
|
|
|
|
Your application will be available at `http://localhost:5173`.
|
|
|
|
## Building for Production
|
|
|
|
Create a production build:
|
|
|
|
```bash
|
|
npm run build
|
|
```
|
|
|
|
## Deployment
|
|
|
|
### Docker Deployment
|
|
|
|
To build and run using Docker:
|
|
|
|
```bash
|
|
docker build -t my-app .
|
|
|
|
# Run the container
|
|
docker run -p 3000:3000 my-app
|
|
```
|
|
|
|
The containerized application can be deployed to any platform that supports Docker, including:
|
|
|
|
- AWS ECS
|
|
- Google Cloud Run
|
|
- Azure Container Apps
|
|
- Digital Ocean App Platform
|
|
- Fly.io
|
|
- Railway
|
|
|
|
### DIY Deployment
|
|
|
|
If you're familiar with deploying Node applications, the built-in app server is production-ready.
|
|
|
|
Make sure to deploy the output of `npm run build`
|
|
|
|
```
|
|
├── package.json
|
|
├── package-lock.json (or pnpm-lock.yaml, or bun.lockb)
|
|
├── build/
|
|
│ ├── client/ # Static assets
|
|
│ └── server/ # Server-side code
|
|
```
|
|
|
|
## Styling
|
|
|
|
This template comes with [Tailwind CSS](https://tailwindcss.com/) already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
|
|
|
|
---
|
|
|
|
Built with ❤️ using React Router.
|