https://github.com/user-attachments/assets/2b975240-667a-407e-a761-4aad4331a3f2
Install the dependencies:
yarn install
Create .env file
DATABASE_URL="file:./database/user.db"
VITE_API_BASE_URL="http://localhost:3000"
Start the development server with HMR:
yarn dev
Start the server:
yarn dev:server
Your front-end application will be available at http://localhost:5173.
Your back-end application will be available at http://localhost:3000.
Create a production build:
yarn build
This template includes a Dockerfile optimized for yarn:
Dockerfile - for yarnTo build and run using Docker:
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:
If youβre familiar with deploying Node applications, the built-in app server is production-ready.
Make sure to deploy the output of yarn build
βββ package.json
βββ build/
β βββ client/ # Static assets
β βββ server/ # Server-side code
This template comes with Tailwind CSS already configured for a simple default starting experience. You can use whatever CSS framework you prefer.
Built with β€οΈ using React Router.