Skip to content

This repository is for the frontend of the project.

License

Notifications You must be signed in to change notification settings

Jeffrey0522/frontend

 
 

Repository files navigation

Frontend Project in Next.js

This project is a frontend application built with Next.js, following the principles of Screaming Architecture to maintain clean, modular, and scalable code. It can be run using either pnpm or npm and runs on port 3000 by default.

Colaborators!

The branch need to follows the next format: (if a feature) feat/name-branch

And commits need to have the next messages: (If feature) feat: change-description (if update) update: change-description (if remove) remove: change-description

📌 Requirements

  • Node.js >= 18.x
  • pnpm >= 8.x (optional) or npm >= 9.x

🚀 Installation

Clone the repository** to your local machine:

git clone https://github.com/<your_user>/frontend

Install dependencies using your preferred package manager:

Using pnpm:

pnpm install

Using npm:

npm install

🔥 Running the Project

To start the development server on port 3000:

With pnpm:

pnpm dev

With npm:

npm run dev

The application will be available at http://localhost:3000.

🏗️ Architecture

The project follows Screaming Architecture, meaning the code structure reflects domains and functionalities instead of being technology-based

✅ Available Scripts

Command Description
pnpm dev / npm run dev Starts the development server
pnpm build / npm run build Builds the application for production
pnpm start / npm run start Runs the production server
pnpm lint / npm run lint Runs the linter to check the code

📦 Building for Production

To generate an optimized production build:

pnpm build  # or npm run build

To start the application in production mode:

pnpm start  # or npm run start

📄 License

This project is licensed under the MIT license.


This document will be updated as the project evolves.

About

This repository is for the frontend of the project.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 96.6%
  • CSS 1.9%
  • JavaScript 1.5%