Veltrends is a website website where users can explore trending tech news.
Veltrends is a website that provides users with trending tech news. It is built using a tech stack that includes React, TypeScript, Remix, Styled Components, Tanstack Query, Sangte on the frontend, and Node.js, TypeScript, Fastify, Prisma, PostgreSQL, Swagger, Typebox, and Algolia on the backend. The infrastructure is managed using Terraform on AWS.
.env.sample to .env in the packages/veltrends-server directory.datasource db section in packages/veltrends-server/prisma/schema.client to use SQLite as follows:
datasource db {
provider = "sqlite"
url = "file:./dev.db"
}
If you want to use PostgreSQL instead of SQLite, follow these additional steps:
DATABASE_URL in the .env file.datasource db section in schema.prisma as follows:
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
packages/veltrends-server/prisma/migrations directory.yarn install to install the required dependencies.yarn prisma migrate dev to initialize the database.yarn prisma generate to generate the Prisma Client.yarn dev to start the server. The server will run on port 8080. Visit http://localhost:8080/ to check if the server is running.pnpm to install the required dependencies..env.sample to .env in the packages/veltrends-client directory.pnpm install to install the required dependencies.pnpm dev to start the server. The server will run on port 8788. Visit http://localhost:3000/ to check if the server is running.Veltrends is a website that enables users to explore trending tech news. It features a React-based frontend, TypeScript on both the frontend and backend, and various technologies like Prisma, Swagger, and Algolia. The installation process involves configuring the backend with either SQLite or PostgreSQL and running specific commands to initialize the database and start the server. The frontend can be run using pnpm and accessed on a different port. With its modern tech stack and easy installation, Veltrends provides a seamless experience for users and developers alike.
React is a widely used JavaScript library for building user interfaces and single-page applications. It follows a component-based architecture and uses a virtual DOM to efficiently update and render UI components
Remix is a modern JavaScript framework that focuses on building fast and performant web applications. It emphasizes a combination of server-rendered content and client-side interactivity, offering a robust architecture for creating scalable and maintainable projects.
Prisma is a server-side library that helps developers read and write data to the database in an intuitive, efficient and safe way.
A fullstack boilerplate provides a starter application that includes both frontend and backend. It should include database, auth, payments, user roles and other backend services to build a fully featured saas or webapps.
TypeScript is a superset of JavaScript, providing optional static typing, classes, interfaces, and other features that help developers write more maintainable and scalable code. TypeScript's static typing system can catch errors at compile-time, making it easier to build and maintain large applications.