This project was bootstrapped with create-next-app
and uses the powerful framework Next.js for building server-side rendered React applications. In addition to getting started quickly, this setup provides an optimized development experience with automatic hot-reloading and file-based routing.
Follow these steps to set up and run the project locally.
Clone the project to your local machine:
git clone https://github.com/ariebrainware/basis-data-ltt-fe.git
cd basis-data-ltt-fe
Install the project dependencies using your preferred package manager:
npm install
# or
yarn install
# or
pnpm install
# or
bun install
Run the development server to start the application:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 in your browser to view the app.
The main page is located at app/page.tsx
. Any changes you make will automatically reload the page, thanks to Next.js's hot-reload feature.
- Scaffolding: The project was initialized using
create-next-app
, which sets up a minimal, yet functional, Next.js project with sensible defaults. - File-based Routing: Next.js uses the file system to automatically build routes for your application, making it easy to manage and scale.
- Optimized Fonts: This project utilizes
next/font
to automatically load and optimize fonts like Geist, ensuring performance and design consistency.
- Server-Side Rendering (SSR): Next.js supports SSR, which can improve performance and SEO for your application.
- Static Generation: With static generation, pages can be pre-rendered at build time, reducing load times.
- API Routes: Next.js allows for the creation of backend API endpoints within the same project structure, facilitating a full-stack approach.
To dive deeper into Next.js and its capabilities, check out the following resources:
- Next.js Documentation – a comprehensive guide to all features and APIs.
- Learn Next.js – an interactive tutorial to guide you through core concepts.
- Next.js GitHub Repository – contribute to the source or report issues.
Deploying your Next.js app is straightforward using Vercel Platform. For detailed deployment instructions, refer to the Next.js deployment documentation.