- README.md
- LICENSE
- config/.gitignore
- config/.prettierrc.json
- config/.prettierignore
- config/.gitattributes
- config/.editorconfig
- src/
π Table of Contents
- Description
- Demo
- Goals
- Technologies
- Prerequisites
- Installation & Usage
- Project Structure
- Useful Scripts
- Features
- Environment Variables
- Known Issues
- Roadmap
- Project Status
- Contributing
- License
- Contact
- Credits
Project Name is a boilerplate for small web projects using **HTML, CSS, and JavaScript, configured with **Prettier and ESLint**.
It ensures best practices from the start and allows scaling to more complex setups (React, Next.js, etc.).
Screenshot or live example of the app:
π Live Demo Not yet available
- Provide a professional starter template.
- Maintain code quality via ESLint and Prettier.
- Document the project with a clean README.
- Prepare for future integrations (frameworks, testing, CI/CD).
- HTML5
- CSS3
- JavaScript ES6+
- ESLint
- Prettier
- pnpm
- Node.js β₯ 18
- pnpm (
npm install -g pnpm
) - Git
- VSCode with extensions:
- Prettier
- ESLint
- Live Server
# Clone the repository
git clone https://github.com/<user>/<repo>.git
cd <repo>
# Install dependencies
pnpm install
# Start local server
pnpm dev
π Notes
- Open
src/index.html
in your browser or run with Live Server in VSCode. - pnpm dev requires live-server installed as a dev dependency:
- pnpm add -D live-server
project-name/
ββ .vscode/
β ββ settings.json
β ββ extensions.json
ββ src/
β ββ index.html
β ββ styles.css
β ββ main.js
ββ img/
ββ eslint.config.js
ββ .prettierrc.json
ββ .prettierignore
ββ .gitignore
ββ .gitattributes
ββ package.json
ββ pnpm-lock.yaml
ββ LICENSE
ββ README.md
Defined in package.json
:
{
"scripts": {
"dev": "live-server src",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "eslint . --ext .js,.ts --fix",
"format": "prettier --check .",
"format:fix": "prettier --write ."
}
}
Usage:
pnpm lint # Check ESLint errors
pnpm lint:fix # Fix ESLint errors
pnpm format # Check Prettier formatting
pnpm format:fix # Apply Prettier formattin
- β Preconfigured ESLint + Prettier
- β Supports JavaScript and TypeScript
- β
Clear modular structure (
src/
,img/
,.vscode/
) - π§ Pending: UI framework integration (React/Tailwind)
Example .env.example
:
API_URL=https://api.ejemplo.com
API_KEY=clave-super-secreta
- Add unit tests
- Configure CI/CD with GitHub Actions
- Automatic deploy on Vercel
- Migrate to framework (React/Next.js)
Version: 0.1.0-beta
Status: In progress
- Fork the repository
- Create a new branch (
git checkout -b feature/your-feature
) - Commit your changes (
git commit -m 'feat: add feature'
) - Push the branch (
git push origin feature/your-feature
) - Open a Pull Request
This project is licensed under the MIT License.
See LICENSE for details.
- GitHub: ferran-cipres
- LinkedIn: Ferran CiprΓ©s
- Email: [email protected]
- FreeCodeCamp Guide
- Adapted by Ferran CiprΓ©s