An open API service indexing awesome lists of open source software.

https://github.com/odanieldcs/danieldcs.com

My personal full-stack website built with React, TS, and more.
https://github.com/odanieldcs/danieldcs.com

danieldcs mdx mdx-js prisma react reactrouterv7 typescript website

Last synced: 9 months ago
JSON representation

My personal full-stack website built with React, TS, and more.

Awesome Lists containing this project

README

          

# Daniel Castro website

This is the source code for my personal website built into a full-stack React application.

## 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
```

### DIY Deployment

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
```