- Install Node.js
- Install all dependencies
npm install
- Copy
.env.example
and rename the copied file to.env
. Then change the environment variable according to your needs
- Developement
# Development mode with file watch
npm run dev
- Build and run
# Build the web application
npm run build
# Run the build
npm start
- Format codebase
# Format the whole code base using Prettier
npm run format
- Lint codebase
# Lint the whole coe base using ESLint
npm run lint
- For docker user
# Start application with docker compose
npm run docker:start
# Stop application with docker compose
npm run docker:stop
NEXT_PUBLIC_API_HOST
: Backend server host. Do NOT add trailing/
at the end