veltrends
1.0.0
English | 한국어
Veltrends is a website where users can explore trending tech news.
URL
datasource db part in packages/veltrends-server/prisma/schema.client to use SQLite as belowdatasource db {
provider = "sqlite"
url = "file:./dev.db"
}
If you want to use PostgreSQL instead of SQLite, run PostgreSQL server with this link, set
DATABASE_URLin .env file, and modifydatasource dbpart in schema.prisma as below.datasource db { provider = "postgresql" url = env("DATABASE_URL") }
yarn install command to install node_modules.yarn prisma migrate dev command to initialize database.yarn prisma generate command to generate Prisma Client.yarn dev command to run server. Server will run on port 8080. Go to http://localhost:8080/ to check if server is running .API Documentation is available at http://localhost:8080/documentation.
Frontend project uses pnpm to install node_modules.
pnpm install command to install node_modules.pnpm dev command to run server. Server will run on port 8788. Go to http://localhost:3000/ to check if server is running.