A template to be used for creating js/scss projects and deploy them to github pages

Overview

vanilla-js-seed

WARNING: this is a work in progress, for now

Reasoning

This aims to help new junior/non-developers aspiring to learn javascript/scss/sass.

It aims to give a hassle-free environment to help you focus on your learning instead of getting things to work.

The main reason behind this is to help you make your work public and easy to link in a portfolio with the use of the free github pages feature

prerequisites

  1. You need to have node.js installed, you can find the download here: https://nodejs.org/en/
  2. You need a github account https://github.com/signup
  3. You need to git installed on your computer https://git-scm.com/downloads
  4. [optional] setup ssh key to avoid prompt of username and password when using npm run github (this only needs to be done once per computer) https://docs.github.com/en/authentication/connecting-to-github-with-ssh keep in mind that the computer that you do this for, will always have rights to change files on all your github repoistory

Commands

Make your own copy

Click the big green button "Use this template" on https://github.com/CosticaPuntaru/vanilla-js-seed and set your project name

Cloning the repository

On your github repository click the green button code and copy the url

in a directory run git clone

open the newly created folder with the repository name in your favorite editor

Open a terminal in the editor and run npm install

Starting local environment

npm run start

Publishing all the changes to github pages

npm run github

Working at your projects

Limitations:

  • you are not allowed to move/rename the files /src/js/main.js and /src/styles/main.scss
  • you should not mess around with the webpack.config.js
  • you should not mess around with devDependencies of package.json

Notes:

Enabling github pages for your project

alt text

After you click save, or whenever you use git push or npm run github it may take some time to see the changes in the provided ulr

Use the link provided after hitting save to brag about your awesome work!

You might also like...

Take a swig of the best template engine for JavaScript.

NOT MAINTAINED Fork and use at your own risk. Swig Swig is an awesome, Django/Jinja-like template engine for node.js. Features Available for node.js a

Jan 4, 2023

Script Template Fivem in Type Script

fivem-ts 🎮 A Typescript Template for FiveM 🎮 This is a basic template for creating a FiveM resource using Typescript. It includes webpack config fil

Jun 11, 2021

A K6 Multi Scenario template applying some best practices along some examples

K6-Multi-Scenario-Template It is a performance testing template that shows how to use K6 to implement a Multi Scenario template applying some best pra

Nov 27, 2022

Tailwind & Next Mentorship Template

This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open http://

May 22, 2022

Template to create reactjs component library which will help you to create your dream library.

reactjs-library-template Template to create reactjs component library which will help you to create your dream library. How to use Commands to setup e

Dec 25, 2021

Low tech template for a reduced carbon impact :seedling:

Enverse minimalist front-end template 🌱 🌱 For all else, use Astro.build 😃 Recomended package manager: pnpm Preact + Typescript + Vite How to use: F

Jan 10, 2022

Obsidian To HTML, A template for building obsidian style notes to a static site

oth (Obsidian To HTML) This is a template for publishing obsidian notes as a static site. The goal of the project is to stay minimal, since this is a

Nov 4, 2022

My discord.js bot template

My discord.js Bot Template This repository is an ongoing project to extract core pieces of the discord.js bots and ecosystems I run into a reusable te

Mar 3, 2022

This is a simple ticket system bot using discord.js v13 and node.js v17. It works with buttons and slashcommands.

This is a simple ticket system bot using discord.js v13 and node.js v17. It works with buttons and slashcommands.

Ticket-bot This is an simple ticket system bot using discord.js v13. If you find an error or need support, go to my discord server and open a ticket

Jan 2, 2023
Comments
  • refactor(webpack): humanized gitRemote getter

    refactor(webpack): humanized gitRemote getter

    This PR aims to:

    • humanize the getting of the git remote origin url
    • set gitRemote variable as const (there is no reason why it should remain var, because its value is not reassigned somewhere)
    opened by leonardssh 0
Owner
Cariera în IT
Organizația de GitHub corespondentă canalului de YouTube ViorelMocanu, creată cu scopul de a ajuta cât mai mulți oameni să intre în IT.
Cariera în IT
Semi-embedded JS template engine that supports helpers, filters, partials, and template inheritance. 4KB minzipped, written in TypeScript ⛺

squirrelly Documentation - Chat - RunKit Demo - Playground Summary Squirrelly is a modern, configurable, and blazing fast template engine implemented

Squirrelly 451 Jan 2, 2023
A simple boilerplate for Express + EJS projects.

Express + EJS Boilerplate This is a simple boilerplate for Express + EJS projects. ?? Summary Install Basic Structure Technologies Preview ??️ Install

null 4 Apr 28, 2022
A Zero config CLI to quick-start your web projects.

Quick-strapper A Zero-config cli to help you bootstrap web projects with best templates. Quick-strapper Usage Templates Commands Usage You can start u

Sidharth Rathi 3 Jun 14, 2022
VSCode Serial Port Extension. You can connect any serial port used to read / write data.

Serial Port Helper You can connect any serial port used to read / write data. Features Serial Port View; Serial Port Config; TX / RX; Send Hex Buffer:

Hancel Lin 30 Sep 18, 2022
The fastest + concise javascript template engine for nodejs and browsers. Partials, custom delimiters and more.

doT Created in search of the fastest and concise JavaScript templating function with emphasis on performance under V8 and nodejs. It shows great perfo

Laura Doktorova 4.9k Dec 31, 2022
Embedded JS template engine for Node, Deno, and the browser. Lighweight, fast, and pluggable. Written in TypeScript

eta (η) Documentation - Chat - RunKit Demo - Playground Summary Eta is a lightweight and blazing fast embedded JS templating engine that works inside

Eta 682 Dec 29, 2022
eXtensible Template Engine lib for node and the browser

xtemplate High Speed, eXtensible Template Engine lib on browser and nodejs. support async control, inheritance, include, logic expression, custom func

xtemplate 553 Nov 21, 2022
Highly opinionated project template for Serverless Framework that follows and applies hexagonal architecture principle to serverless world. Prepared with easy testing in mind.

serverless-hexagonal-template Highly opinionated project template for Serverless Framework that applies hexagonal architecture principles to the serve

Paweł Zubkiewicz 126 Dec 26, 2022
Examples of how to re-create the WordPress Template Hierarchy using headless clients and WPGraphQL

WPGraphQL Template Hierarchy Debugger This is a project to demonstrate how to re-create the WordPress template hierarchy with Headless WordPress using

Jason Bahl 17 Oct 29, 2022
Pug – robust, elegant, feature rich template engine for Node.js

Pug Full documentation is at pugjs.org Pug is a high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.j

Pug 21.1k Dec 30, 2022