Stack
- Nuxt 3
- Nitro Server (API)
- TailwindCSS
- PostgreSQL
- Sequelize ORM
- Sequelize CLI
- Pinia (State Management)
Look at the Nuxt 3 documentation to learn more.
Clone this repository.
Adjust value DB_USERNAME
& DB_PASSWORD
with your config in .env
file.
Make sure to install the dependencies:
# npm
npm install
# pnpm
pnpm install
# yarn
yarn install
# bun
bun install
Make sure to migrate the database:
# npm
npm run migrate:create
npm run migrate:up
# pnpm
pnpm run migrate:create
pnpm run migrate:up
# yarn
yarn migrate:create
yarn migrate:up
# bun
bun run migrate:create
bun run migrate:up
You can revert the most recent migration the database:
# npm
npm run migrate:undo
# pnpm
pnpm run migrate:undo
# yarn
yarn migrate:undo
# bun
bun run migrate:undo
Start the development server on http://localhost:1955
:
# npm
npm run dev
# pnpm
pnpm run dev
# yarn
yarn dev
# bun
bun run dev
Build the application for production:
# npm
npm run build
# pnpm
pnpm run build
# yarn
yarn build
# bun
bun run build
Locally preview production build:
# npm
npm run preview
# pnpm
pnpm run preview
# yarn
yarn preview
# bun
bun run preview
Running with docker:
docker-compose up --build
Check out the deployment documentation for more information.